Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007953/0.007953, allocations: 101.5 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 192.9 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.83 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3095, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004873/0.3145, allocations: 3.299 MB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.3177, allocations: 2.041 MB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.3179, allocations: 7.938 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.3188, allocations: 267.1 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.3194, allocations: 219.2 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.32, allocations: 257.9 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000574/0.3206, allocations: 0.5688 MB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.321, allocations: 204.8 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.3212, allocations: 139.5 kB / 1.06 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.3216, allocations: 211.3 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.3217, allocations: 16 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005086/0.3222, allocations: 307.4 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.3223, allocations: 107.7 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.3225, allocations: 143.2 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.3229, allocations: 383.3 kB / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3229, allocations: 0 / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3229, allocations: 0 / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3229, allocations: 0 / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001181/0.3241, allocations: 0.6004 MB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3242, allocations: 11.97 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.3252, allocations: 112.4 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.3256, allocations: 273.2 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.3256, allocations: 20.94 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.3258, allocations: 52.38 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.3265, allocations: 445.1 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3265, allocations: 8 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.3266, allocations: 7.984 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.3267, allocations: 44.47 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.3273, allocations: 365.9 kB / 1.063 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.33, allocations: 2.218 MB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.3304, allocations: 270.4 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.3306, allocations: 164.8 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3307, allocations: 0 / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3307, allocations: 34.56 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.445e-06/0.3307, allocations: 0 / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001861/0.3326, allocations: 1.056 MB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3326, allocations: 59.27 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.333, allocations: 256.8 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.333, allocations: 41.69 kB / 1.067 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3331, allocations: 180 kB / 1.067 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.3332, allocations: 86.83 kB / 1.067 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3334, allocations: 77.59 kB / 1.067 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3335, allocations: 334.8 kB / 1.067 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.3338, allocations: 155.9 kB / 1.067 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.3341, allocations: 253.5 kB / 1.068 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.3347, allocations: 398.9 kB / 1.068 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3347, allocations: 7.938 kB / 1.068 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001206/0.3359, allocations: 0.6011 MB / 1.069 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3359, allocations: 8 kB / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.336, allocations: 0 / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007135/0.3367, allocations: 188.8 kB / 1.069 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.337, allocations: 63.89 kB / 1.069 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.3397, allocations: 2.3 MB / 1.071 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.3402, allocations: 32.03 kB / 1.071 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.3402, allocations: 12.11 kB / 1.071 GB, free: 4.824 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.3404, allocations: 165.7 kB / 1.071 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.3405, allocations: 31.66 kB / 1.071 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.341, allocations: 348.7 kB / 1.072 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.341, allocations: 4 kB / 1.072 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3411, allocations: 4 kB / 1.072 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3411, allocations: 3.984 kB / 1.072 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3421, allocations: 0.8187 MB / 1.072 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3421, allocations: 0 / 1.072 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.3425, allocations: 71.94 kB / 1.072 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3425, allocations: 0 / 1.072 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3425, allocations: 8 kB / 1.072 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3426, allocations: 8 kB / 1.073 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3426, allocations: 7.938 kB / 1.073 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.3433, allocations: 0.6169 MB / 1.073 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.3435, allocations: 128.8 kB / 1.073 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.3435, allocations: 11.98 kB / 1.073 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.3438, allocations: 15.98 kB / 1.073 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.3438, allocations: 15.92 kB / 1.073 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3438, allocations: 4 kB / 1.073 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002298/0.3441, allocations: 188.5 kB / 1.073 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3441, allocations: 0 / 1.073 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004531/0.3445, allocations: 95.94 kB / 1.074 GB, free: 2.191 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.3447, allocations: 115.2 kB / 1.074 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009373/0.3457, allocations: 0.5295 MB / 1.074 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3457, allocations: 0.625 kB / 1.074 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.3459, allocations: 147.9 kB / 1.074 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3463, allocations: 52.38 kB / 1.074 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3479, allocations: 0.9828 MB / 1.075 GB, free: 316 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3483, allocations: 0.7951 MB / 1.076 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3485, allocations: 27.42 kB / 1.076 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3485, allocations: 0 / 1.076 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of Templates: time 0.0077/0.3562, allocations: 4.541 MB / 1.081 GB, free: 10.93 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches