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.001263/0.001263, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00118/0.00118, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.666/2.666, allocations: 437 MB / 0.71 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8447, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004745/0.8495, allocations: 3.318 MB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.8526, allocations: 1.995 MB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.8529, allocations: 11.94 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000902/0.8538, allocations: 275 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.8543, allocations: 207.2 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.8552, allocations: 263.5 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.8556, allocations: 410.7 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.8561, allocations: 224.2 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.8563, allocations: 167.4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.8566, allocations: 203.3 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.8567, allocations: 28 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.8571, allocations: 271.5 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.8572, allocations: 119.7 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.8573, allocations: 143.3 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.8579, allocations: 0.5004 MB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.8579, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8579, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.8579, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 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.001122/0.8591, allocations: 0.5965 MB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.8591, allocations: 8.031 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009979/0.8601, allocations: 116.4 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.8605, allocations: 277.7 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.8605, allocations: 16.94 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.8606, allocations: 36.64 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.8615, allocations: 457 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.8615, allocations: 0 / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.8615, allocations: 12 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.8617, allocations: 48.52 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.8623, allocations: 357.9 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.865, allocations: 2.23 MB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.8654, allocations: 275.1 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.8657, allocations: 156.8 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.8657, allocations: 4 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.8657, allocations: 38.56 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.522e-06/0.8657, allocations: 0 / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001838/0.8676, allocations: 1.062 MB / 1.03 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.8676, allocations: 51.41 kB / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.8679, allocations: 257 kB / 1.03 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.868, allocations: 29.7 kB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.8681, allocations: 191.9 kB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.8682, allocations: 82.8 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.8683, allocations: 77.59 kB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8684, allocations: 334.8 kB / 1.031 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.8687, allocations: 155.9 kB / 1.031 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.8691, allocations: 253.4 kB / 1.032 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.8696, allocations: 414.8 kB / 1.032 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8696, allocations: 0 / 1.032 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001194/0.8708, allocations: 0.6004 MB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.8709, allocations: 8.031 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.8709, allocations: 4 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.8716, allocations: 188.5 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.8719, allocations: 67.89 kB / 1.033 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.8751, allocations: 2.489 MB / 1.035 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.8755, allocations: 20.02 kB / 1.035 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.8756, allocations: 24.05 kB / 1.035 GB, free: 15.08 MB / 0.795 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.0002008/0.8758, allocations: 162.2 kB / 1.035 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.8759, allocations: 31.64 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005668/0.8764, allocations: 351.5 kB / 1.036 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8765, allocations: 4 kB / 1.036 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.8765, allocations: 0 / 1.036 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8765, allocations: 0 / 1.036 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.8776, allocations: 0.8221 MB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8777, allocations: 4 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.8781, allocations: 75.88 kB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8781, allocations: 4 kB / 1.037 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.8781, allocations: 4 kB / 1.037 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.8781, allocations: 4 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8781, allocations: 0 / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008448/0.879, allocations: 0.6234 MB / 1.037 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.8791, allocations: 136.8 kB / 1.037 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.8792, allocations: 8 kB / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.8794, allocations: 15.98 kB / 1.037 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.8795, allocations: 19.91 kB / 1.037 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.8795, allocations: 12 kB / 1.037 GB, free: 12.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002183/0.8797, allocations: 188.5 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8797, allocations: 0 / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004099/0.8801, allocations: 84 kB / 1.038 GB, free: 12.44 MB / 0.795 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.0001453/0.8803, allocations: 111.2 kB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.8813, allocations: 0.5648 MB / 1.038 GB, free: 11.74 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8813, allocations: 0 / 1.038 GB, free: 11.74 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.8815, allocations: 151.8 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.882, allocations: 67.2 kB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.8835, allocations: 0.9453 MB / 1.04 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.8839, allocations: 0.7951 MB / 1.04 GB, free: 9.738 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000237/0.8842, allocations: 74.91 kB / 1.04 GB, free: 9.668 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.8843, allocations: 23.44 kB / 1.04 GB, free: 9.645 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.8843, allocations: 0 / 1.04 GB, free: 9.645 MB / 0.795 GB Notification: Performance of Templates: time 0.00807/0.8924, allocations: 4.113 MB / 1.044 GB, free: 5.551 MB / 0.795 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/jenkins/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