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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001331/0.001331, allocations: 111.8 kB / 16.42 MB, free: 5.918 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.001334/0.001334, allocations: 191.7 kB / 17.35 MB, free: 5.555 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.564/1.564, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 472.7 MB / 0.746 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9243/0.9257, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00616/0.9319, allocations: 3.744 MB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.9353, allocations: 1.8 MB / 1.232 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.9356, allocations: 19.88 kB / 1.232 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.9366, allocations: 269.4 kB / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007123/0.9373, allocations: 306.4 kB / 1.232 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.938, allocations: 243.5 kB / 1.233 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007192/0.9387, allocations: 0.6049 MB / 1.233 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.9392, allocations: 270.5 kB / 1.233 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.9396, allocations: 239.1 kB / 1.234 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.9399, allocations: 235 kB / 1.234 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.94, allocations: 24 kB / 1.234 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005494/0.9405, allocations: 275.4 kB / 1.234 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.9407, allocations: 127.6 kB / 1.234 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.9409, allocations: 206.8 kB / 1.234 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.9417, allocations: 0.5919 MB / 1.235 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9417, allocations: 0 / 1.235 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9417, allocations: 4 kB / 1.235 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.9417, allocations: 0 / 1.235 GB, free: 4.551 MB / 0.9512 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.001203/0.9429, allocations: 0.7473 MB / 1.236 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.9429, allocations: 12.03 kB / 1.236 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008379/0.9438, allocations: 136.5 kB / 1.236 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.9444, allocations: 415.9 kB / 1.236 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.9444, allocations: 21.03 kB / 1.236 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.9445, allocations: 24.38 kB / 1.236 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008447/0.9453, allocations: 0.555 MB / 1.237 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.9454, allocations: 11.94 kB / 1.237 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.9454, allocations: 15.94 kB / 1.237 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.9455, allocations: 44.53 kB / 1.237 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.9462, allocations: 409.7 kB / 1.237 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.9493, allocations: 3.33 MB / 1.241 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.95, allocations: 338.4 kB / 1.241 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.9503, allocations: 176.8 kB / 1.241 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.9504, allocations: 7.984 kB / 1.241 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.9504, allocations: 34.56 kB / 1.241 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 2.324e-06/0.9504, allocations: 0 / 1.241 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27): time 0.002136/0.9525, allocations: 1.074 MB / 1.242 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.9526, allocations: 59.62 kB / 1.242 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.953, allocations: 341.6 kB / 1.243 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.953, allocations: 25.7 kB / 1.243 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.9532, allocations: 252.1 kB / 1.243 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.9533, allocations: 103.2 kB / 1.243 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.9534, allocations: 78.08 kB / 1.243 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.9536, allocations: 346.8 kB / 1.243 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.9539, allocations: 144.8 kB / 1.243 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.9542, allocations: 294.5 kB / 1.244 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.9549, allocations: 478.6 kB / 1.244 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9549, allocations: 0 / 1.244 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009682/0.9559, allocations: 0.5656 MB / 1.245 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.9559, allocations: 8.625 kB / 1.245 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.956, allocations: 8 kB / 1.245 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.9563, allocations: 86.5 kB / 1.245 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.9566, allocations: 91.81 kB / 1.245 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.9567, allocations: 8 kB / 1.245 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.9569, allocations: 27.91 kB / 1.245 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.957, allocations: 23.94 kB / 1.245 GB, free: 9.637 MB / 0.9669 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.0002156/0.9572, allocations: 185.4 kB / 1.245 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.9572, allocations: 39.77 kB / 1.245 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008751/0.9581, allocations: 460.2 kB / 1.246 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9581, allocations: 0 / 1.246 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.9582, allocations: 4 kB / 1.246 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.9583, allocations: 144.8 kB / 1.246 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.9584, allocations: 8 kB / 1.246 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.9586, allocations: 15.97 kB / 1.246 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.9587, allocations: 23.97 kB / 1.246 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001054/0.9597, allocations: 0.5343 MB / 1.246 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000932/0.9607, allocations: 0.6908 MB / 1.247 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002534/0.961, allocations: 148.4 kB / 1.247 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002392/0.9612, allocations: 235.2 kB / 1.247 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of Backend: time 9.62e-07/0.9612, allocations: 0 / 1.247 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.9626, allocations: 0.7406 MB / 1.248 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001516/0.9641, allocations: 1.215 MB / 1.249 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of Templates: time 0.01139/0.9755, allocations: 6.566 MB / 1.256 GB, free: 14.52 MB / 0.9825 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/jenkins1/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