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.001349/0.001349, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.573/2.573, allocations: 390.2 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.91 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8603, allocations: 140.3 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004767/0.8651, allocations: 3.263 MB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003329/0.8685, allocations: 2.019 MB / 0.9547 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.8687, allocations: 8.688 kB / 0.9548 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009314/0.8696, allocations: 287.5 kB / 0.955 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.8702, allocations: 234.5 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.8709, allocations: 290.1 kB / 0.9555 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.8713, allocations: 408 kB / 0.9559 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.8717, allocations: 205.9 kB / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.8719, allocations: 168 kB / 0.9563 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.8723, allocations: 193.3 kB / 0.9565 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.8723, allocations: 24.75 kB / 0.9565 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.8728, allocations: 265.7 kB / 0.9567 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.8729, allocations: 122.1 kB / 0.9569 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.8731, allocations: 148.3 kB / 0.957 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.8737, allocations: 492 kB / 0.9575 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8737, allocations: 0 / 0.9575 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8737, allocations: 4 kB / 0.9575 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.8737, allocations: 0 / 0.9575 GB, free: 3.328 MB / 0.7169 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.00106/0.8748, allocations: 0.5972 MB / 0.9581 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8749, allocations: 9.406 kB / 0.9581 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.8759, allocations: 120.4 kB / 0.9582 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.8762, allocations: 269.1 kB / 0.9584 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.8763, allocations: 18.55 kB / 0.9585 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.8764, allocations: 41.2 kB / 0.9585 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.8772, allocations: 460.2 kB / 0.9589 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.8772, allocations: 0.875 kB / 0.9589 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.8773, allocations: 7.219 kB / 0.9589 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.8774, allocations: 40.31 kB / 0.959 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006864/0.8781, allocations: 364.1 kB / 0.9593 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.8805, allocations: 2.231 MB / 0.9615 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.881, allocations: 266.9 kB / 0.9618 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.8813, allocations: 162.7 kB / 0.9619 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.8813, allocations: 2.562 kB / 0.9619 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.8814, allocations: 39.78 kB / 0.962 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.8814, allocations: 0 / 0.962 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.002031/0.8834, allocations: 1.051 MB / 0.963 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.8835, allocations: 57.81 kB / 0.963 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.8838, allocations: 249.4 kB / 0.9633 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.8838, allocations: 35 kB / 0.9633 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.884, allocations: 187 kB / 0.9635 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.548e-05/0.884, allocations: 81.66 kB / 0.9636 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.8842, allocations: 76.66 kB / 0.9636 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8843, allocations: 336.3 kB / 0.964 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.8846, allocations: 162.9 kB / 0.9641 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.885, allocations: 242 kB / 0.9643 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000613/0.8856, allocations: 404.9 kB / 0.9647 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8856, allocations: 5.25 kB / 0.9647 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001356/0.887, allocations: 0.6015 MB / 0.9653 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.8871, allocations: 7.969 kB / 0.9653 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.8871, allocations: 2.188 kB / 0.9653 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008162/0.8879, allocations: 203.8 kB / 0.9655 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.8883, allocations: 61.73 kB / 0.9656 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003466/0.8918, allocations: 2.498 MB / 0.968 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.8922, allocations: 27.91 kB / 0.968 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.8922, allocations: 11.53 kB / 0.9681 GB, free: 10.9 MB / 0.7325 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.0002287/0.8925, allocations: 167.6 kB / 0.9682 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.8926, allocations: 27.25 kB / 0.9682 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.8931, allocations: 364 kB / 0.9686 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8932, allocations: 2.625 kB / 0.9686 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.8932, allocations: 0 / 0.9686 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.8932, allocations: 3.984 kB / 0.9686 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.8943, allocations: 0.8096 MB / 0.9694 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8943, allocations: 3.938 kB / 0.9694 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.8947, allocations: 74.34 kB / 0.9695 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8947, allocations: 6.469 kB / 0.9695 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.8948, allocations: 6.375 kB / 0.9695 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.8948, allocations: 2.156 kB / 0.9695 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8948, allocations: 0 / 0.9695 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008012/0.8956, allocations: 0.6177 MB / 0.9701 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.8957, allocations: 136.5 kB / 0.9702 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.8958, allocations: 11.27 kB / 0.9702 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.896, allocations: 10.58 kB / 0.9702 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.8961, allocations: 19.27 kB / 0.9702 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.8961, allocations: 9.25 kB / 0.9703 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002758/0.8964, allocations: 187.4 kB / 0.9704 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8964, allocations: 0 / 0.9704 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004985/0.8969, allocations: 94.38 kB / 0.9705 GB, free: 9.164 MB / 0.7325 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.0001954/0.8971, allocations: 115.9 kB / 0.9706 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.8983, allocations: 0.5592 MB / 0.9712 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8983, allocations: 8 kB / 0.9712 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.8985, allocations: 148.8 kB / 0.9713 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.8991, allocations: 51.3 kB / 0.9714 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.9008, allocations: 0.8408 MB / 0.9722 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.9012, allocations: 0.7904 MB / 0.973 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002589/0.9015, allocations: 83.95 kB / 0.9731 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/0.9016, allocations: 22.16 kB / 0.9731 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.9016, allocations: 0 / 0.9731 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.008585/0.9102, allocations: 4.119 MB / 0.9771 GB, free: 4.797 MB / 0.7325 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