Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002437/0.002437, allocations: 186.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.135/3.135, allocations: 0.4893 GB / 0.7884 GB, free: 33.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 62.97 kB / 1.145 GB, free: 30.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3726, allocations: 174.9 MB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007361/0.38, allocations: 4.996 MB / 1.321 GB, free: 4.676 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00473/0.3847, allocations: 2.53 MB / 1.323 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.3851, allocations: 39.56 kB / 1.323 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.3863, allocations: 417.9 kB / 1.324 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3874, allocations: 465.6 kB / 1.324 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.3884, allocations: 386.3 kB / 1.325 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.3896, allocations: 0.9218 MB / 1.326 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.39, allocations: 262.7 kB / 1.326 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.3905, allocations: 346.7 kB / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.3911, allocations: 374.3 kB / 1.326 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.3911, allocations: 36 kB / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.3919, allocations: 411.1 kB / 1.327 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.3921, allocations: 183.4 kB / 1.327 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.3924, allocations: 318.2 kB / 1.327 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.3935, allocations: 0.8793 MB / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3935, allocations: 4 kB / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3935, allocations: 3.938 kB / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3935, allocations: 0 / 1.328 GB, free: 13.14 MB / 1.029 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.001494/0.395, allocations: 0.8857 MB / 1.329 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.395, allocations: 8.031 kB / 1.329 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.3962, allocations: 212.2 kB / 1.329 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.3971, allocations: 468.8 kB / 1.33 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.3971, allocations: 37.36 kB / 1.33 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.3972, allocations: 48.34 kB / 1.33 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3984, allocations: 0.8487 MB / 1.331 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.3984, allocations: 7.938 kB / 1.331 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.3985, allocations: 24 kB / 1.331 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/0.3986, allocations: 64.95 kB / 1.331 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009044/0.3995, allocations: 0.5695 MB / 1.331 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/0.4045, allocations: 5.567 MB / 1.337 GB, free: 3.844 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.4052, allocations: 430.3 kB / 1.337 GB, free: 3.414 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.4055, allocations: 209.7 kB / 1.337 GB, free: 3.207 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.4055, allocations: 3.984 kB / 1.337 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4056, allocations: 42.5 kB / 1.337 GB, free: 3.152 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 2.835e-06/0.4056, allocations: 3.938 kB / 1.337 GB, free: 3.148 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002507/0.4081, allocations: 1.137 MB / 1.339 GB, free: 1.988 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.4081, allocations: 63.62 kB / 1.339 GB, free: 1.914 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.4087, allocations: 495 kB / 1.339 GB, free: 1.422 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.4087, allocations: 33.7 kB / 1.339 GB, free: 1.383 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.409, allocations: 359.8 kB / 1.339 GB, free: 1.027 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.4091, allocations: 126.9 kB / 1.34 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.4092, allocations: 110.2 kB / 1.34 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.4094, allocations: 362.8 kB / 1.34 GB, free: 436 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.4098, allocations: 201.2 kB / 1.34 GB, free: 232 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.4103, allocations: 455 kB / 1.341 GB, free: 15.67 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/0.4112, allocations: 0.6837 MB / 1.341 GB, free: 14.87 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.4112, allocations: 4 kB / 1.341 GB, free: 14.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001347/0.4126, allocations: 0.813 MB / 1.342 GB, free: 14.03 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4126, allocations: 8.938 kB / 1.342 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.4126, allocations: 15.98 kB / 1.342 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.4131, allocations: 148.1 kB / 1.342 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.4135, allocations: 127.7 kB / 1.342 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003719/0.4173, allocations: 4.03 MB / 1.346 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.4177, allocations: 36.12 kB / 1.346 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.4177, allocations: 32 kB / 1.346 GB, free: 9.277 MB / 1.045 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.0003089/0.418, allocations: 212.1 kB / 1.347 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.985e-05/0.4181, allocations: 71.52 kB / 1.347 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.4192, allocations: 0.6047 MB / 1.347 GB, free: 8.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4192, allocations: 4 kB / 1.347 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4192, allocations: 0 / 1.347 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4192, allocations: 3.984 kB / 1.347 GB, free: 8.355 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.4212, allocations: 1.231 MB / 1.348 GB, free: 7.039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4212, allocations: 0 / 1.348 GB, free: 7.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.4214, allocations: 55.89 kB / 1.348 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.4218, allocations: 148.3 kB / 1.349 GB, free: 6.824 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.4218, allocations: 11.94 kB / 1.349 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.4252, allocations: 4.03 MB / 1.353 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4252, allocations: 0 / 1.353 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.4263, allocations: 0.7158 MB / 1.353 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.4265, allocations: 87.58 kB / 1.353 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.4266, allocations: 8 kB / 1.353 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.4268, allocations: 19.97 kB / 1.353 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.4269, allocations: 35.83 kB / 1.353 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.4269, allocations: 19.92 kB / 1.353 GB, free: 1.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003932/0.4273, allocations: 330.9 kB / 1.354 GB, free: 1.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4273, allocations: 0 / 1.354 GB, free: 1.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006444/0.428, allocations: 144 kB / 1.354 GB, free: 1.039 MB / 1.045 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.0001616/0.4281, allocations: 107.2 kB / 1.354 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.4295, allocations: 0.8669 MB / 1.355 GB, free: 12 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4295, allocations: 4 kB / 1.355 GB, free: 8 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.4302, allocations: 0.5616 MB / 1.355 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.4311, allocations: 204.2 kB / 1.356 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.4328, allocations: 1.061 MB / 1.357 GB, free: 14.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.4334, allocations: 0.898 MB / 1.358 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.4337, allocations: 125.3 kB / 1.358 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/0.4338, allocations: 39.44 kB / 1.358 GB, free: 13.01 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4338, allocations: 0 / 1.358 GB, free: 13.01 MB / 1.061 GB Notification: Performance of Templates: time 0.01652/0.4503, allocations: 8.036 MB / 1.366 GB, free: 5.062 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.335682854987681]