Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007258/0.007258, allocations: 97.89 kB / 15.73 MB, free: 6.047 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.001753/0.001753, allocations: 202.9 kB / 16.68 MB, free: 5.965 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.12 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3541, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005242/0.3594, allocations: 3.756 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.3624, allocations: 1.8 MB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.3626, allocations: 15.94 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000912/0.3635, allocations: 270.5 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.3641, allocations: 310.5 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.3646, allocations: 243.5 kB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.3654, allocations: 0.6049 MB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.3658, allocations: 223.1 kB / 1.228 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.3662, allocations: 247 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.3665, allocations: 227 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.3665, allocations: 28 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.3669, allocations: 279.4 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3671, allocations: 119.6 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.3674, allocations: 214.8 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007894/0.3681, allocations: 0.5874 MB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3681, allocations: 0 / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3681, allocations: 0 / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3682, allocations: 4 kB / 1.229 GB, free: 4.926 MB / 0.9825 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.001158/0.3693, allocations: 0.7396 MB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3694, allocations: 8.031 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.3702, allocations: 144.4 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.3707, allocations: 403.9 kB / 1.231 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.3708, allocations: 28.95 kB / 1.231 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.3708, allocations: 32.36 kB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.3716, allocations: 0.5588 MB / 1.231 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3716, allocations: 0 / 1.231 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.3717, allocations: 15.98 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/0.3717, allocations: 48.47 kB / 1.231 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.3724, allocations: 409.7 kB / 1.232 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.375, allocations: 3.33 MB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/0.3756, allocations: 314.3 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.3759, allocations: 164.8 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3759, allocations: 3.938 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.376, allocations: 34.56 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.376, allocations: 0 / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.002027/0.378, allocations: 1.066 MB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.378, allocations: 55.64 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3784, allocations: 341.6 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3784, allocations: 33.64 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3786, allocations: 252.1 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.3787, allocations: 99.16 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3788, allocations: 78.08 kB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3789, allocations: 346.8 kB / 1.238 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.3792, allocations: 152.8 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.3796, allocations: 287.7 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006375/0.3802, allocations: 482.5 kB / 1.238 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3802, allocations: 4 kB / 1.238 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009188/0.3811, allocations: 0.5659 MB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3811, allocations: 7.938 kB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3812, allocations: 8 kB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/0.3815, allocations: 86.5 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3818, allocations: 84.27 kB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3818, allocations: 15.92 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.382, allocations: 35.91 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.3821, allocations: 16 kB / 1.239 GB, free: 10.05 MB / 0.9981 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.0001801/0.3822, allocations: 174.2 kB / 1.239 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.3823, allocations: 39.77 kB / 1.239 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008646/0.3832, allocations: 476.2 kB / 1.24 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3832, allocations: 4 kB / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3832, allocations: 0 / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3832, allocations: 0 / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.3845, allocations: 0.9715 MB / 1.241 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3845, allocations: 0 / 1.241 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.3847, allocations: 55.89 kB / 1.241 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.385, allocations: 78.52 kB / 1.241 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.385, allocations: 8.031 kB / 1.241 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.385, allocations: 8 kB / 1.241 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.385, allocations: 0 / 1.241 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.3858, allocations: 0.543 MB / 1.241 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.3859, allocations: 144.8 kB / 1.242 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.386, allocations: 7.984 kB / 1.242 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.3862, allocations: 23.92 kB / 1.242 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.3863, allocations: 31.83 kB / 1.242 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3863, allocations: 8 kB / 1.242 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002153/0.3865, allocations: 235.2 kB / 1.242 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3865, allocations: 0 / 1.242 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004085/0.3869, allocations: 88 kB / 1.242 GB, free: 7.027 MB / 0.9981 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.0001454/0.387, allocations: 107.2 kB / 1.242 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008178/0.3879, allocations: 0.6038 MB / 1.243 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3879, allocations: 0 / 1.243 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.3883, allocations: 421.7 kB / 1.243 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.389, allocations: 122.3 kB / 1.243 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3901, allocations: 0.7408 MB / 1.244 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.3905, allocations: 0.8273 MB / 1.245 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002159/0.3908, allocations: 87.33 kB / 1.245 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.3908, allocations: 27.44 kB / 1.245 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.3908, allocations: 0 / 1.245 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of Templates: time 0.6921/1.083, allocations: 4.748 MB / 1.249 GB, free: 29.64 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches