Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001828/0.001828, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002178/0.002178, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.454/1.454, allocations: 225.6 MB / 249.4 MB, free: 3.113 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.73/2.73, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.89 kB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9892/0.9912, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02011/1.011, allocations: 16.79 MB / 1.288 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009769/1.021, allocations: 4.968 MB / 1.293 GB, free: 9.484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/1.023, allocations: 68.16 kB / 1.293 GB, free: 9.461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00344/1.026, allocations: 1.091 MB / 1.294 GB, free: 8.824 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/1.029, allocations: 0.7785 MB / 1.295 GB, free: 8.348 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/1.032, allocations: 0.9549 MB / 1.296 GB, free: 7.809 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004918/1.037, allocations: 3.612 MB / 1.3 GB, free: 6.215 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004356/1.041, allocations: 2.301 MB / 1.302 GB, free: 5.043 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/1.044, allocations: 1.594 MB / 1.303 GB, free: 4.312 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/1.048, allocations: 1.885 MB / 1.305 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007064/1.049, allocations: 340.2 kB / 1.306 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/1.051, allocations: 0.8109 MB / 1.306 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/1.053, allocations: 1.366 MB / 1.308 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00275/1.056, allocations: 1.455 MB / 1.309 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008854/1.065, allocations: 5.145 MB / 1.314 GB, free: 212 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.065, allocations: 1.312 kB / 1.314 GB, free: 212 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.903e-06/1.065, allocations: 0 / 1.314 GB, free: 212 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000159/1.065, allocations: 0 / 1.314 GB, free: 212 kB / 1.014 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.008368/1.073, allocations: 2.719 MB / 1.317 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/1.073, allocations: 9.438 kB / 1.317 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/1.078, allocations: 0.8414 MB / 1.318 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/1.081, allocations: 1.568 MB / 1.319 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/1.081, allocations: 185.2 kB / 1.319 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/1.082, allocations: 235.2 kB / 1.32 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008535/1.09, allocations: 4.163 MB / 1.324 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.396e-05/1.09, allocations: 10.05 kB / 1.324 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/1.091, allocations: 99.61 kB / 1.324 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/1.091, allocations: 169.6 kB / 1.324 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006767/1.098, allocations: 3.636 MB / 1.327 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/1.122, allocations: 16.44 MB / 1.343 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/1.125, allocations: 2.246 MB / 1.346 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/1.126, allocations: 0.5496 MB / 1.346 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/1.127, allocations: 93.47 kB / 1.346 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.168e-05/1.127, allocations: 54.64 kB / 1.346 GB, free: 10.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/1.127, allocations: 0 / 1.346 GB, free: 10.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.006166/1.133, allocations: 3.5 MB / 1.35 GB, free: 8.309 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/1.133, allocations: 110.9 kB / 1.35 GB, free: 8.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/1.134, allocations: 1.025 MB / 1.351 GB, free: 7.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/1.134, allocations: 36.11 kB / 1.351 GB, free: 7.551 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009177/1.135, allocations: 1.143 MB / 1.352 GB, free: 6.535 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/1.136, allocations: 291.3 kB / 1.352 GB, free: 6.285 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/1.136, allocations: 283.1 kB / 1.353 GB, free: 6.121 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0003542/1.136, allocations: 410.7 kB / 1.353 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009495/1.137, allocations: 0.6134 MB / 1.354 GB, free: 5.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/1.139, allocations: 1.185 MB / 1.355 GB, free: 4.348 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/1.141, allocations: 1.866 MB / 1.357 GB, free: 2.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/1.141, allocations: 10.31 kB / 1.357 GB, free: 2.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003295/1.144, allocations: 2.02 MB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.145, allocations: 12.03 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/1.145, allocations: 20.06 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/1.145, allocations: 167.2 kB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.146, allocations: 347.5 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-05/1.146, allocations: 39.11 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.147, allocations: 125.6 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.147, allocations: 71.67 kB / 1.359 GB, free: 1.543 MB / 1.045 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.001538/1.149, allocations: 0.9751 MB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/1.149, allocations: 116.5 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/1.151, allocations: 1.221 MB / 1.362 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.151, allocations: 12.03 kB / 1.362 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.151, allocations: 6.188 kB / 1.362 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.151, allocations: 5.109 kB / 1.362 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005916/1.157, allocations: 3.792 MB / 1.365 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.157, allocations: 2.312 kB / 1.365 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/1.158, allocations: 161.7 kB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/1.158, allocations: 141.7 kB / 1.366 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/1.158, allocations: 22.25 kB / 1.366 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/1.158, allocations: 9.156 kB / 1.366 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.158, allocations: 7.094 kB / 1.366 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/1.16, allocations: 1.468 MB / 1.367 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/1.161, allocations: 271.7 kB / 1.367 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.161, allocations: 22.62 kB / 1.367 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/1.161, allocations: 62.22 kB / 1.367 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/1.162, allocations: 62.23 kB / 1.367 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/1.162, allocations: 21.62 kB / 1.367 GB, free: 12.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009694/1.163, allocations: 0.6978 MB / 1.368 GB, free: 11.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/1.163, allocations: 4 kB / 1.368 GB, free: 11.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001547/1.164, allocations: 387.7 kB / 1.368 GB, free: 11.84 MB / 1.061 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.0002093/1.164, allocations: 121.8 kB / 1.369 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002625/1.167, allocations: 1.664 MB / 1.37 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.167, allocations: 5.875 kB / 1.37 GB, free: 10.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.168, allocations: 0.8355 MB / 1.371 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/1.17, allocations: 258.5 kB / 1.371 GB, free: 9.883 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/1.176, allocations: 3.848 MB / 1.375 GB, free: 7.766 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/1.178, allocations: 1.922 MB / 1.377 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001101/1.179, allocations: 449.4 kB / 1.377 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/1.179, allocations: 83.42 kB / 1.377 GB, free: 5.898 MB / 1.061 GB Notification: Performance of SimCode: time 9.81e-07/1.179, allocations: 0 / 1.377 GB, free: 5.898 MB / 1.061 GB Notification: Performance of Templates: time 0.02832/1.207, allocations: 14.17 MB / 1.391 GB, free: 7.863 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.323759337887168]