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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001036/0.001037, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001136/0.001136, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.103/3.103, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 11.19 kB / 0.9021 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004745/0.3337, allocations: 3.268 MB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.3369, allocations: 1.669 MB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.3373, allocations: 15.88 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.3376, allocations: 59.5 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008391/0.3385, allocations: 230.8 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.3391, allocations: 187.6 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006485/0.3398, allocations: 0.6322 MB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006089/0.3404, allocations: 330.5 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.3407, allocations: 203.1 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.341, allocations: 219 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.3411, allocations: 16 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.3414, allocations: 131.8 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.3416, allocations: 99.64 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.3417, allocations: 101.5 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.3421, allocations: 435.1 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3421, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3421, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3421, allocations: 8 kB / 1.065 GB, free: 13.71 MB / 0.8262 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.00105/0.3432, allocations: 0.6622 MB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3432, allocations: 12.03 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.3441, allocations: 139.2 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.3446, allocations: 370.5 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.3446, allocations: 20.66 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.3447, allocations: 31.98 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.3455, allocations: 0.5554 MB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3455, allocations: 3.906 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.3456, allocations: 12 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.3456, allocations: 48.47 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.3463, allocations: 413.8 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.3494, allocations: 3.33 MB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.3501, allocations: 342.6 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.3504, allocations: 180.8 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.3504, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3504, allocations: 42.52 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.482e-06/0.3504, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.002005/0.3525, allocations: 1.078 MB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3525, allocations: 59.58 kB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3529, allocations: 337.5 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3529, allocations: 29.7 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.353, allocations: 247.5 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.3531, allocations: 98.64 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.3532, allocations: 8 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3533, allocations: 350.8 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.3536, allocations: 156.7 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.3539, allocations: 295.1 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3543, allocations: 200.8 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3543, allocations: 4 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009562/0.3552, allocations: 0.5616 MB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3553, allocations: 12.52 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3553, allocations: 8 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.3556, allocations: 90.52 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.3559, allocations: 91.81 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.3559, allocations: 7.984 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3562, allocations: 31.98 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.3562, allocations: 27.92 kB / 1.075 GB, free: 3.301 MB / 0.8262 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.3564, allocations: 169.7 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.3565, allocations: 39.53 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008884/0.3574, allocations: 472 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3574, allocations: 4 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3574, allocations: 0 / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3574, allocations: 3.984 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3589, allocations: 0.9755 MB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.359, allocations: 0 / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3592, allocations: 51.97 kB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.3594, allocations: 90.53 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.3594, allocations: 4 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3594, allocations: 4 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3594, allocations: 0 / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.3602, allocations: 0.5589 MB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3604, allocations: 136.6 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.3604, allocations: 8 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.3606, allocations: 27.97 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.3607, allocations: 23.92 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3607, allocations: 8 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002923/0.361, allocations: 235.2 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.361, allocations: 0 / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000405/0.3615, allocations: 84 kB / 1.078 GB, free: 284 kB / 0.8262 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.3616, allocations: 108.7 kB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008997/0.3625, allocations: 0.6353 MB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3625, allocations: 3.828 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.363, allocations: 438.1 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.3636, allocations: 124 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3649, allocations: 0.8632 MB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.3654, allocations: 0.8237 MB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.3657, allocations: 87.33 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.3658, allocations: 27.44 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3658, allocations: 0 / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.009736/0.3755, allocations: 4.321 MB / 1.085 GB, free: 8.719 MB / 0.8419 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