Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001398/0.001398, allocations: 108.5 kB / 16.41 MB, free: 6.461 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.001577/0.001577, allocations: 187 kB / 17.34 MB, free: 5.719 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 64.05 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8677/0.8692, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005929/0.8752, allocations: 3.273 MB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003759/0.879, allocations: 2.011 MB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.8793, allocations: 4 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.8804, allocations: 292.5 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007628/0.8812, allocations: 238.9 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008383/0.8821, allocations: 291.3 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000653/0.8827, allocations: 410.7 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.8832, allocations: 200.2 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.8835, allocations: 159.5 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.884, allocations: 199.3 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.8841, allocations: 27.94 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.8846, allocations: 259.5 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.8848, allocations: 119.7 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.885, allocations: 155.2 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007709/0.8858, allocations: 488.3 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8858, allocations: 0 / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8858, allocations: 0 / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.8858, allocations: 0 / 1.175 GB, free: 11.76 MB / 0.9044 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.001354/0.8872, allocations: 0.6003 MB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.8873, allocations: 16.92 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.8883, allocations: 116.4 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.8888, allocations: 276.5 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.8889, allocations: 24.88 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.889, allocations: 36.72 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.8898, allocations: 457 kB / 1.177 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.8898, allocations: 0 / 1.177 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.8899, allocations: 12 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.89, allocations: 44.47 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006839/0.8907, allocations: 365.9 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.8938, allocations: 2.218 MB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.8943, allocations: 275.8 kB / 1.179 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.8945, allocations: 160.8 kB / 1.18 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.8946, allocations: 4 kB / 1.18 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.8946, allocations: 34.56 kB / 1.18 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.8946, allocations: 0 / 1.18 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002016/0.8966, allocations: 1.05 MB / 1.181 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.8967, allocations: 67.39 kB / 1.181 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.8971, allocations: 252.9 kB / 1.181 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.8971, allocations: 29.7 kB / 1.181 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.8972, allocations: 187.9 kB / 1.181 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/0.8973, allocations: 86.8 kB / 1.181 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.8975, allocations: 73.64 kB / 1.181 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8976, allocations: 338.8 kB / 1.182 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.8979, allocations: 163.9 kB / 1.182 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.8983, allocations: 245.5 kB / 1.182 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.8989, allocations: 407.4 kB / 1.182 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8989, allocations: 0 / 1.182 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001276/0.9002, allocations: 0.6042 MB / 1.183 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.9002, allocations: 4 kB / 1.183 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.9002, allocations: 4 kB / 1.183 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/0.901, allocations: 188.9 kB / 1.183 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.9013, allocations: 59.89 kB / 1.183 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.9045, allocations: 2.505 MB / 1.186 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.9049, allocations: 23.97 kB / 1.186 GB, free: 248 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.905, allocations: 16 kB / 1.186 GB, free: 232 kB / 0.9044 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.0002342/0.9052, allocations: 171.4 kB / 1.186 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.9053, allocations: 27.66 kB / 1.186 GB, free: 24 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/0.9059, allocations: 347.7 kB / 1.186 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9059, allocations: 7.922 kB / 1.186 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.9059, allocations: 0 / 1.186 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.906, allocations: 0 / 1.186 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.9072, allocations: 0.8198 MB / 1.187 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9072, allocations: 4.062 kB / 1.187 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.9076, allocations: 75.94 kB / 1.187 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.9077, allocations: 0 / 1.187 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.9077, allocations: 8 kB / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.767e-05/0.9077, allocations: 7.922 kB / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9077, allocations: 3.938 kB / 1.187 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.9085, allocations: 0.6141 MB / 1.188 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.9087, allocations: 128.8 kB / 1.188 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.9088, allocations: 4 kB / 1.188 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.9091, allocations: 15.98 kB / 1.188 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.9091, allocations: 19.92 kB / 1.188 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.9091, allocations: 4 kB / 1.188 GB, free: 13.87 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002533/0.9094, allocations: 192.4 kB / 1.188 GB, free: 13.68 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9094, allocations: 4 kB / 1.188 GB, free: 13.67 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004836/0.9099, allocations: 88 kB / 1.188 GB, free: 13.59 MB / 0.92 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.0001833/0.9101, allocations: 107.2 kB / 1.188 GB, free: 13.47 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.9112, allocations: 0.5452 MB / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9112, allocations: 0 / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.9114, allocations: 147.9 kB / 1.189 GB, free: 12.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.9119, allocations: 62.39 kB / 1.189 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.9136, allocations: 0.8642 MB / 1.19 GB, free: 11.81 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.9141, allocations: 0.7951 MB / 1.191 GB, free: 10.99 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.9142, allocations: 27.42 kB / 1.191 GB, free: 10.96 MB / 0.92 GB Notification: Performance of SimCode: time 2.314e-06/0.9142, allocations: 4 kB / 1.191 GB, free: 10.96 MB / 0.92 GB Notification: Performance of Templates: time 0.008604/0.9228, allocations: 4.574 MB / 1.195 GB, free: 6.395 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches