Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001267, allocations: 108 kB / 15.61 MB, free: 152 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.001143/0.001143, allocations: 198.5 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.808/2.808, allocations: 437 MB / 0.7103 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8372, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007859/0.8451, allocations: 4.857 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005344/0.8505, allocations: 2.452 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.8516, allocations: 27.81 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.8536, allocations: 397.9 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.8552, allocations: 445.7 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.8565, allocations: 375.2 kB / 1.026 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.8583, allocations: 0.9135 MB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007757/0.8591, allocations: 358.4 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009405/0.86, allocations: 330.8 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/0.8608, allocations: 342.5 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.861, allocations: 40 kB / 1.028 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.8621, allocations: 411 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.8625, allocations: 175.5 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006442/0.8631, allocations: 318.3 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.8648, allocations: 0.8701 MB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.8648, allocations: 0 / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8648, allocations: 0 / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.335e-05/0.8648, allocations: 0 / 1.029 GB, free: 6.234 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002063/0.8669, allocations: 0.9463 MB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.8669, allocations: 8.031 kB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.8684, allocations: 207.7 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/0.8692, allocations: 494.2 kB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.8693, allocations: 37.36 kB / 1.031 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.8694, allocations: 44.36 kB / 1.031 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.8706, allocations: 0.8487 MB / 1.032 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.8707, allocations: 7.938 kB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.8707, allocations: 20 kB / 1.032 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.8709, allocations: 68.95 kB / 1.032 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.8719, allocations: 0.5656 MB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.8768, allocations: 5.658 MB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.8774, allocations: 458.1 kB / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.8778, allocations: 229.2 kB / 1.039 GB, free: 12.05 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.8778, allocations: 7.984 kB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.8778, allocations: 34.56 kB / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.8778, allocations: 4 kB / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002649/0.8805, allocations: 1.497 MB / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.8806, allocations: 55.69 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.8811, allocations: 0.491 MB / 1.041 GB, free: 9.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.8812, allocations: 33.7 kB / 1.041 GB, free: 9.773 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.8814, allocations: 354.8 kB / 1.041 GB, free: 9.422 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.8815, allocations: 118.4 kB / 1.041 GB, free: 9.305 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.8817, allocations: 110.2 kB / 1.041 GB, free: 9.191 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8819, allocations: 366.8 kB / 1.042 GB, free: 8.824 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.8822, allocations: 201.2 kB / 1.042 GB, free: 8.625 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.8827, allocations: 443.3 kB / 1.042 GB, free: 8.078 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008183/0.8835, allocations: 0.6877 MB / 1.043 GB, free: 7.273 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.8835, allocations: 8 kB / 1.043 GB, free: 7.266 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001316/0.8848, allocations: 0.8057 MB / 1.044 GB, free: 6.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.8849, allocations: 10.19 kB / 1.044 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.8849, allocations: 8 kB / 1.044 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.8854, allocations: 156.2 kB / 1.044 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.8859, allocations: 127.7 kB / 1.044 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003673/0.8896, allocations: 4.348 MB / 1.048 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.89, allocations: 31.97 kB / 1.048 GB, free: 1.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.8901, allocations: 28 kB / 1.048 GB, free: 1.305 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.8904, allocations: 218.1 kB / 1.048 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.8905, allocations: 67.23 kB / 1.048 GB, free: 1.016 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.8916, allocations: 0.597 MB / 1.049 GB, free: 408 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.8916, allocations: 4 kB / 1.049 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8916, allocations: 0 / 1.049 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8916, allocations: 3.938 kB / 1.049 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.8935, allocations: 1.259 MB / 1.05 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.8936, allocations: 4.219 kB / 1.05 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.8938, allocations: 63.83 kB / 1.05 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000413/0.8943, allocations: 136.2 kB / 1.05 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.8943, allocations: 11.94 kB / 1.05 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/0.8976, allocations: 4.337 MB / 1.055 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8976, allocations: 4.031 kB / 1.055 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.8987, allocations: 0.7115 MB / 1.055 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.899, allocations: 164.3 kB / 1.056 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.8991, allocations: 12 kB / 1.056 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.8994, allocations: 23.97 kB / 1.056 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.8995, allocations: 35.84 kB / 1.056 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.8995, allocations: 8 kB / 1.056 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003794/0.8999, allocations: 334.8 kB / 1.056 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8999, allocations: 0 / 1.056 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007007/0.9006, allocations: 136 kB / 1.056 GB, free: 8.574 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001613/0.9008, allocations: 121 kB / 1.056 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.9025, allocations: 1.068 MB / 1.057 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.9025, allocations: 4 kB / 1.057 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009132/0.9034, allocations: 0.7388 MB / 1.058 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.9046, allocations: 209.4 kB / 1.058 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.9064, allocations: 1.044 MB / 1.059 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.907, allocations: 0.9058 MB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004015/0.9074, allocations: 117.3 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.9075, allocations: 35.44 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of SimCode: time 1.333e-06/0.9075, allocations: 4 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of Templates: time 0.01815/0.9257, allocations: 7.592 MB / 1.068 GB, free: 12.59 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches