Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00864/0.00864, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001521/0.001521, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 59.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00591/1.121, allocations: 3.262 MB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004147/1.125, allocations: 2.024 MB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/1.125, allocations: 4.281 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/1.127, allocations: 289.8 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000819/1.127, allocations: 239 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/1.128, allocations: 284.7 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007648/1.129, allocations: 412.1 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/1.13, allocations: 211.9 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/1.13, allocations: 156.2 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/1.131, allocations: 201.7 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-05/1.131, allocations: 23.66 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008028/1.131, allocations: 265.7 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/1.132, allocations: 117 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/1.132, allocations: 152.4 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000861/1.133, allocations: 493.9 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.133, allocations: 0 / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/1.133, allocations: 5.281 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.133, allocations: 0 / 1.096 GB, free: 0.7422 MB / 0.8575 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.001113/1.134, allocations: 0.5899 MB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.134, allocations: 8.781 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/1.135, allocations: 120.3 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/1.135, allocations: 284.6 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/1.135, allocations: 22.61 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.136, allocations: 31.09 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/1.137, allocations: 469.7 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.137, allocations: 5.766 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/1.137, allocations: 7.562 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/1.137, allocations: 38.86 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/1.138, allocations: 370.1 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/1.141, allocations: 2.215 MB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/1.141, allocations: 266.8 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/1.141, allocations: 160.8 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/1.141, allocations: 3.062 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.141, allocations: 39.56 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.404e-06/1.141, allocations: 0 / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002207/1.144, allocations: 1.061 MB / 1.101 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/1.144, allocations: 54.69 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/1.144, allocations: 253.8 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/1.144, allocations: 31.11 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.144, allocations: 194.7 kB / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/1.144, allocations: 82.8 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/1.145, allocations: 72.42 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.145, allocations: 336.9 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/1.145, allocations: 156.3 kB / 1.102 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/1.145, allocations: 247 kB / 1.103 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007613/1.146, allocations: 407.7 kB / 1.103 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.146, allocations: 5.062 kB / 1.103 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001455/1.148, allocations: 0.6035 MB / 1.104 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.148, allocations: 7.5 kB / 1.104 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.148, allocations: 2.625 kB / 1.104 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007562/1.149, allocations: 191.3 kB / 1.104 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/1.149, allocations: 63.2 kB / 1.104 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/1.152, allocations: 2.489 MB / 1.106 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/1.153, allocations: 30.56 kB / 1.106 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/1.153, allocations: 12.27 kB / 1.106 GB, free: 9.453 MB / 0.8731 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.0002607/1.153, allocations: 167.2 kB / 1.107 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/1.153, allocations: 28.27 kB / 1.107 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006768/1.154, allocations: 352.8 kB / 1.107 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.154, allocations: 5.344 kB / 1.107 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.154, allocations: 2.016 kB / 1.107 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.154, allocations: 1.359 kB / 1.107 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/1.155, allocations: 0.8124 MB / 1.108 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.155, allocations: 5.188 kB / 1.108 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/1.155, allocations: 68.84 kB / 1.108 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.155, allocations: 2.312 kB / 1.108 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/1.155, allocations: 20.44 kB / 1.108 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.155, allocations: 1.953 kB / 1.108 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.155, allocations: 1.125 kB / 1.108 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/1.156, allocations: 0.6122 MB / 1.108 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/1.157, allocations: 129.2 kB / 1.109 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/1.157, allocations: 4.219 kB / 1.109 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/1.157, allocations: 19.84 kB / 1.109 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/1.157, allocations: 20.56 kB / 1.109 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/1.157, allocations: 10.06 kB / 1.109 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002615/1.157, allocations: 187.1 kB / 1.109 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.724e-06/1.157, allocations: 0 / 1.109 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005182/1.158, allocations: 98.97 kB / 1.109 GB, free: 8.023 MB / 0.8731 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.0002041/1.158, allocations: 112.9 kB / 1.109 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.159, allocations: 0.5312 MB / 1.109 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.159, allocations: 0.625 kB / 1.109 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/1.159, allocations: 151.6 kB / 1.11 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/1.16, allocations: 62.25 kB / 1.11 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/1.161, allocations: 0.8269 MB / 1.11 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/1.162, allocations: 0.7928 MB / 1.111 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000247/1.162, allocations: 75.98 kB / 1.111 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/1.162, allocations: 24.3 kB / 1.111 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/1.162, allocations: 0.875 kB / 1.111 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of Templates: time 0.01032/1.172, allocations: 4.26 MB / 1.116 GB, free: 6.031 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches