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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007033/0.007034, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001602/0.001602, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.522/2.522, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 72.11 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8976/0.899, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004692/0.9038, allocations: 3.267 MB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003392/0.9072, allocations: 2.018 MB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.9074, allocations: 4 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009888/0.9084, allocations: 294.7 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000646/0.9091, allocations: 238.9 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.9099, allocations: 295.2 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.9105, allocations: 414.7 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.9109, allocations: 196.2 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.9112, allocations: 159.5 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.9116, allocations: 191.3 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.9117, allocations: 24 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.9122, allocations: 275.5 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.9123, allocations: 123.7 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.9125, allocations: 143.3 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007075/0.9132, allocations: 492.4 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.9133, allocations: 0 / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9133, allocations: 4 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9133, allocations: 0 / 1.216 GB, free: 5.629 MB / 0.9356 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.001169/0.9145, allocations: 0.6004 MB / 1.216 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.9145, allocations: 8.031 kB / 1.216 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009814/0.9155, allocations: 112.4 kB / 1.216 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.9159, allocations: 292.4 kB / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.9159, allocations: 16.94 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.9161, allocations: 36.73 kB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.9168, allocations: 449 kB / 1.217 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.9168, allocations: 15.92 kB / 1.217 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.9169, allocations: 11.98 kB / 1.217 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.917, allocations: 40.53 kB / 1.217 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.9177, allocations: 361.9 kB / 1.217 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.9202, allocations: 2.21 MB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.9206, allocations: 266.3 kB / 1.22 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.9209, allocations: 160.8 kB / 1.22 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.9209, allocations: 0 / 1.22 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.9209, allocations: 46.55 kB / 1.22 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.082e-06/0.9209, allocations: 0 / 1.22 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.001758/0.9227, allocations: 1.056 MB / 1.221 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.9228, allocations: 55.41 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.9231, allocations: 260.9 kB / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.9231, allocations: 25.7 kB / 1.221 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.9232, allocations: 191.9 kB / 1.222 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.9233, allocations: 86.73 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.9234, allocations: 77.67 kB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9236, allocations: 326.8 kB / 1.222 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.9238, allocations: 163.9 kB / 1.222 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.9242, allocations: 241.5 kB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.9247, allocations: 422.8 kB / 1.223 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9247, allocations: 0 / 1.223 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001129/0.9259, allocations: 0.5972 MB / 1.223 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9259, allocations: 8 kB / 1.223 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.9259, allocations: 4 kB / 1.223 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.9266, allocations: 180.9 kB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.9269, allocations: 67.89 kB / 1.224 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.9296, allocations: 2.493 MB / 1.226 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.93, allocations: 20.02 kB / 1.226 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.93, allocations: 19.98 kB / 1.226 GB, free: 10.11 MB / 0.9512 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.0001716/0.9302, allocations: 165.8 kB / 1.226 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.9303, allocations: 31.64 kB / 1.226 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/0.9308, allocations: 353.5 kB / 1.227 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9308, allocations: 4 kB / 1.227 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.9308, allocations: 0 / 1.227 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9308, allocations: 0 / 1.227 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.9318, allocations: 0.8239 MB / 1.228 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9318, allocations: 4 kB / 1.228 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.9322, allocations: 75.88 kB / 1.228 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.9322, allocations: 4 kB / 1.228 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.9323, allocations: 0 / 1.228 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9323, allocations: 4 kB / 1.228 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9323, allocations: 0 / 1.228 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.933, allocations: 0.6127 MB / 1.228 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.9331, allocations: 136.8 kB / 1.228 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.9331, allocations: 8 kB / 1.228 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.9334, allocations: 15.98 kB / 1.228 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.9334, allocations: 15.91 kB / 1.228 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.9335, allocations: 12 kB / 1.228 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002201/0.9337, allocations: 192.5 kB / 1.229 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9337, allocations: 0 / 1.229 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003974/0.9341, allocations: 84 kB / 1.229 GB, free: 7.477 MB / 0.9512 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.0002264/0.9343, allocations: 107.2 kB / 1.229 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009563/0.9353, allocations: 0.5433 MB / 1.229 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9353, allocations: 0 / 1.229 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.9355, allocations: 151.8 kB / 1.229 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.936, allocations: 65.33 kB / 1.229 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.9375, allocations: 0.8238 MB / 1.23 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.9379, allocations: 0.7989 MB / 1.231 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.9381, allocations: 78.91 kB / 1.231 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.47e-05/0.9382, allocations: 27.44 kB / 1.231 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of SimCode: time 3.4e-07/0.9382, allocations: 0 / 1.231 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of Templates: time 0.008588/0.9468, allocations: 4.177 MB / 1.235 GB, free: 0.6562 MB / 0.9512 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/jenkins/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