Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01063/0.01063, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.00169/0.001691, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.564/2.564, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 59.91 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9329/0.9351, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006046/0.9412, allocations: 3.746 MB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.9445, allocations: 1.804 MB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004782/0.945, allocations: 15.88 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.9462, allocations: 258.7 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008653/0.9471, allocations: 290.5 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.9477, allocations: 255.4 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008485/0.9486, allocations: 0.6011 MB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.9491, allocations: 254.5 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004262/0.9495, allocations: 243.1 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.95, allocations: 231 kB / 1.215 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.95, allocations: 28 kB / 1.215 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.9506, allocations: 275.4 kB / 1.215 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.9507, allocations: 119.6 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.9509, allocations: 214.8 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008083/0.9518, allocations: 0.5895 MB / 1.216 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9518, allocations: 0 / 1.216 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9518, allocations: 0 / 1.216 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.9518, allocations: 0 / 1.216 GB, free: 4.691 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001192/0.953, allocations: 0.7363 MB / 1.217 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.953, allocations: 11.97 kB / 1.217 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.9539, allocations: 136.2 kB / 1.217 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/0.9546, allocations: 411.5 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.9547, allocations: 25.02 kB / 1.218 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.9547, allocations: 28.38 kB / 1.218 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/0.9556, allocations: 0.5472 MB / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.9557, allocations: 7.938 kB / 1.218 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.9557, allocations: 23.91 kB / 1.218 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-05/0.9558, allocations: 40.55 kB / 1.218 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.9565, allocations: 405.8 kB / 1.219 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.9595, allocations: 3.326 MB / 1.222 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.9602, allocations: 342.4 kB / 1.222 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.9605, allocations: 176.8 kB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.9606, allocations: 4 kB / 1.222 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.9606, allocations: 34.5 kB / 1.222 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/0.9606, allocations: 0 / 1.222 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.002038/0.9627, allocations: 1.074 MB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.9627, allocations: 55.64 kB / 1.224 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.963, allocations: 341.6 kB / 1.224 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.9631, allocations: 29.7 kB / 1.224 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.9632, allocations: 247.5 kB / 1.224 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.9633, allocations: 98.67 kB / 1.224 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.9634, allocations: 70.05 kB / 1.224 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9636, allocations: 346.8 kB / 1.225 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.9639, allocations: 148.8 kB / 1.225 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.9642, allocations: 294.5 kB / 1.225 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.9649, allocations: 478.5 kB / 1.226 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9649, allocations: 0 / 1.226 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009669/0.9659, allocations: 0.5697 MB / 1.226 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9659, allocations: 4 kB / 1.226 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9659, allocations: 8 kB / 1.226 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.9663, allocations: 82.52 kB / 1.226 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.9666, allocations: 95.81 kB / 1.226 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9666, allocations: 4.25 kB / 1.226 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.9669, allocations: 35.91 kB / 1.226 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.9669, allocations: 16 kB / 1.226 GB, free: 9.824 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.9671, allocations: 173.7 kB / 1.226 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.9672, allocations: 39.53 kB / 1.227 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008639/0.9681, allocations: 471.9 kB / 1.227 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.9681, allocations: 0 / 1.227 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9681, allocations: 4 kB / 1.227 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.9681, allocations: 3.984 kB / 1.227 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.9695, allocations: 0.9559 MB / 1.228 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.9696, allocations: 4 kB / 1.228 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.9698, allocations: 59.83 kB / 1.228 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.97, allocations: 82.44 kB / 1.228 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.9701, allocations: 12 kB / 1.228 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.9701, allocations: 4.094 kB / 1.228 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9701, allocations: 4 kB / 1.228 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/0.9709, allocations: 0.5471 MB / 1.229 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.9711, allocations: 136.6 kB / 1.229 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.9712, allocations: 8 kB / 1.229 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.9714, allocations: 23.97 kB / 1.229 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.9715, allocations: 23.91 kB / 1.229 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.9715, allocations: 8 kB / 1.229 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000211/0.9717, allocations: 231.2 kB / 1.229 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9717, allocations: 0 / 1.229 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004111/0.9721, allocations: 96 kB / 1.229 GB, free: 6.805 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.9723, allocations: 107.2 kB / 1.229 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009155/0.9732, allocations: 0.6352 MB / 1.23 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9732, allocations: 0 / 1.23 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.9737, allocations: 429.7 kB / 1.23 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.9744, allocations: 137.4 kB / 1.23 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.9755, allocations: 0.71 MB / 1.231 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.9759, allocations: 0.8311 MB / 1.232 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.9761, allocations: 79.36 kB / 1.232 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.9762, allocations: 27.44 kB / 1.232 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.9762, allocations: 0 / 1.232 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of Templates: time 0.009508/0.9857, allocations: 4.83 MB / 1.237 GB, free: 14.9 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches