Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.00126/0.00126, allocations: 112.5 kB / 17.13 MB, free: 5.914 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.0014/0.0014, allocations: 198 kB / 20.08 MB, free: 2.973 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 / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.5 MB / 0.7293 GB, free: 14.61 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 72.02 kB / 1.057 GB, free: 2.039 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3891, allocations: 160.8 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02308/0.4122, allocations: 16.27 MB / 1.23 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009633/0.4218, allocations: 4.875 MB / 1.235 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.4234, allocations: 63.69 kB / 1.235 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.4265, allocations: 1.065 MB / 1.236 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.4289, allocations: 0.7893 MB / 1.237 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.4316, allocations: 0.9235 MB / 1.237 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004925/0.4366, allocations: 3.61 MB / 1.241 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00482/0.4414, allocations: 3.543 MB / 1.244 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.4442, allocations: 1.597 MB / 1.246 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/0.4476, allocations: 1.885 MB / 1.248 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007483/0.4484, allocations: 336 kB / 1.248 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.4503, allocations: 0.8153 MB / 1.249 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001719/0.452, allocations: 1.36 MB / 1.25 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.4542, allocations: 1.459 MB / 1.252 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006809/0.461, allocations: 5.148 MB / 1.257 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4611, allocations: 0 / 1.257 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4611, allocations: 0 / 1.257 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001438/0.4612, allocations: 3.938 kB / 1.257 GB, free: 5.055 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006962/0.4682, allocations: 2.709 MB / 1.259 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4682, allocations: 11.98 kB / 1.259 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/0.4724, allocations: 0.842 MB / 1.26 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6825/1.155, allocations: 1.566 MB / 1.262 GB, free: 47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/1.155, allocations: 177.5 kB / 1.262 GB, free: 46.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009769/1.156, allocations: 231.4 kB / 1.262 GB, free: 46.99 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00778/1.164, allocations: 4.165 MB / 1.266 GB, free: 46.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-05/1.164, allocations: 6.891 kB / 1.266 GB, free: 46.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/1.164, allocations: 99.39 kB / 1.266 GB, free: 46.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/1.164, allocations: 170.7 kB / 1.267 GB, free: 46.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007539/1.172, allocations: 3.634 MB / 1.27 GB, free: 46.17 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02338/1.195, allocations: 16.44 MB / 1.286 GB, free: 34.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/1.199, allocations: 2.238 MB / 1.288 GB, free: 32.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/1.2, allocations: 0.54 MB / 1.289 GB, free: 32.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/1.201, allocations: 108 kB / 1.289 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.201, allocations: 38.3 kB / 1.289 GB, free: 32.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.956e-06/1.201, allocations: 2.875 kB / 1.289 GB, free: 32.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.006747/1.207, allocations: 3.505 MB / 1.292 GB, free: 30.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.207, allocations: 112.6 kB / 1.293 GB, free: 30.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/1.209, allocations: 1.017 MB / 1.293 GB, free: 29.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/1.209, allocations: 44.08 kB / 1.294 GB, free: 29.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007268/1.21, allocations: 1.14 MB / 1.295 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/1.21, allocations: 289 kB / 1.295 GB, free: 28.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005119/1.211, allocations: 278.5 kB / 1.295 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.211, allocations: 414.2 kB / 1.296 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/1.212, allocations: 0.6165 MB / 1.296 GB, free: 28.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/1.213, allocations: 1.186 MB / 1.297 GB, free: 27.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/1.216, allocations: 1.866 MB / 1.299 GB, free: 25.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-05/1.216, allocations: 5.594 kB / 1.299 GB, free: 25.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003688/1.22, allocations: 2.023 MB / 1.301 GB, free: 25.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/1.22, allocations: 13.78 kB / 1.301 GB, free: 25.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/1.22, allocations: 18.22 kB / 1.301 GB, free: 25.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/1.22, allocations: 164.1 kB / 1.301 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.221, allocations: 346.2 kB / 1.302 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.209e-05/1.221, allocations: 38.59 kB / 1.302 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.223, allocations: 127.3 kB / 1.302 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/1.223, allocations: 70 kB / 1.302 GB, free: 24.97 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.001724/1.224, allocations: 0.9765 MB / 1.303 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004081/1.225, allocations: 118.2 kB / 1.303 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/1.227, allocations: 1.227 MB / 1.304 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.227, allocations: 9.844 kB / 1.304 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.227, allocations: 2.062 kB / 1.304 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/1.227, allocations: 5.031 kB / 1.304 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007761/1.235, allocations: 3.804 MB / 1.308 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.235, allocations: 3.609 kB / 1.308 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/1.236, allocations: 156.1 kB / 1.308 GB, free: 22.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/1.236, allocations: 142.1 kB / 1.308 GB, free: 22.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.845e-05/1.236, allocations: 17.88 kB / 1.308 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/1.236, allocations: 14.2 kB / 1.308 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.236, allocations: 3.406 kB / 1.308 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/1.239, allocations: 1.468 MB / 1.31 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/1.239, allocations: 283.6 kB / 1.31 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/1.24, allocations: 16.33 kB / 1.31 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/1.241, allocations: 66.53 kB / 1.31 GB, free: 21.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.241, allocations: 50.66 kB / 1.31 GB, free: 21.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/1.241, allocations: 24.67 kB / 1.31 GB, free: 21.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001347/1.242, allocations: 0.7039 MB / 1.311 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.242, allocations: 0 / 1.311 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002138/1.244, allocations: 388.5 kB / 1.311 GB, free: 20.77 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.0002632/1.245, allocations: 120.7 kB / 1.311 GB, free: 20.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002774/1.247, allocations: 1.665 MB / 1.313 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.247, allocations: 0 / 1.313 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.248, allocations: 0.8383 MB / 1.314 GB, free: 19.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/1.25, allocations: 266.7 kB / 1.314 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008942/1.259, allocations: 4.206 MB / 1.318 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/1.262, allocations: 1.968 MB / 1.32 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/1.262, allocations: 93.83 kB / 1.32 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.565e-06/1.262, allocations: 0 / 1.32 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.09309/1.355, allocations: 73.53 MB / 1.392 GB, free: 3.84 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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: 15.698844661004841]