Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009115/0.0009115, allocations: 164.5 kB / 24.86 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9652/0.9652, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.862/1.862, allocations: 377.9 MB / 0.6247 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8128 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.819e-05, allocations: 2.875 kB / 0.8128 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01015/0.01017, allocations: 9.042 MB / 0.8216 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00402/0.01419, allocations: 2.824 MB / 0.8244 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006395/0.01483, allocations: 83.38 kB / 0.8244 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.01557, allocations: 331.5 kB / 0.8248 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008685/0.01644, allocations: 0.6694 MB / 0.8254 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.01729, allocations: 0.6364 MB / 0.826 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002409/0.0197, allocations: 3.602 MB / 0.8296 GB, free: 288 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.02182, allocations: 2.462 MB / 0.832 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.02371, allocations: 2.262 MB / 0.8342 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.02534, allocations: 1.8 MB / 0.8359 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.0257, allocations: 336 kB / 0.8362 GB, free: 9.355 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005697/0.02627, allocations: 475.6 kB / 0.8367 GB, free: 8.891 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0008788/0.02714, allocations: 1.442 MB / 0.8381 GB, free: 7.445 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009058/0.02805, allocations: 1.025 MB / 0.8391 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.02993, allocations: 2.676 MB / 0.8417 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.02993, allocations: 0.8125 kB / 0.8417 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.242e-06/0.02993, allocations: 0 / 0.8417 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.9e-05/0.02997, allocations: 0.9375 kB / 0.8417 GB, free: 3.734 MB / 0.7917 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.002803/0.03277, allocations: 2.791 MB / 0.8445 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.03281, allocations: 13.06 kB / 0.8445 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.03476, allocations: 0.8879 MB / 0.8453 GB, free: 16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.03609, allocations: 1.279 MB / 0.8466 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.03618, allocations: 181.1 kB / 0.8468 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.03642, allocations: 232.4 kB / 0.847 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.03861, allocations: 2.151 MB / 0.8491 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.03866, allocations: 8.141 kB / 0.8491 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.03883, allocations: 101.1 kB / 0.8492 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.03896, allocations: 168.5 kB / 0.8493 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.04014, allocations: 0.7728 MB / 0.8501 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008396/0.04854, allocations: 10.53 MB / 0.8604 GB, free: 15.98 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.04958, allocations: 0.6823 MB / 0.861 GB, free: 15.27 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.04982, allocations: 196.9 kB / 0.8612 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.04988, allocations: 16.66 kB / 0.8612 GB, free: 15.05 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.04991, allocations: 58.03 kB / 0.8613 GB, free: 14.99 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.04991, allocations: 0 / 0.8613 GB, free: 14.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.001881/0.05179, allocations: 1.08 MB / 0.8624 GB, free: 13.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.05183, allocations: 119.3 kB / 0.8625 GB, free: 13.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/0.05249, allocations: 0.932 MB / 0.8634 GB, free: 12.79 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.05252, allocations: 41.7 kB / 0.8634 GB, free: 12.74 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.05305, allocations: 1.203 MB / 0.8646 GB, free: 11.52 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.05321, allocations: 301.5 kB / 0.8649 GB, free: 11.22 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.05349, allocations: 301 kB / 0.8652 GB, free: 10.92 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.0537, allocations: 0.6209 MB / 0.8658 GB, free: 10.29 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.0539, allocations: 143.9 kB / 0.8659 GB, free: 10.15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.05448, allocations: 0.9895 MB / 0.8669 GB, free: 8.797 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/0.05533, allocations: 1.247 MB / 0.8681 GB, free: 7.188 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.05534, allocations: 4 kB / 0.8681 GB, free: 7.184 MB / 0.823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001172/0.05651, allocations: 1.109 MB / 0.8692 GB, free: 6.051 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.05654, allocations: 16.22 kB / 0.8692 GB, free: 6.035 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.05655, allocations: 20 kB / 0.8692 GB, free: 6.016 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.05675, allocations: 114.6 kB / 0.8693 GB, free: 5.887 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.05731, allocations: 303.5 kB / 0.8696 GB, free: 5.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.05733, allocations: 39.86 kB / 0.8697 GB, free: 5.551 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.05775, allocations: 63.84 kB / 0.8697 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.05782, allocations: 59.98 kB / 0.8698 GB, free: 5.43 MB / 0.823 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.0003234/0.05814, allocations: 248 kB / 0.87 GB, free: 5.176 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.05829, allocations: 135.3 kB / 0.8701 GB, free: 5.043 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/0.059, allocations: 0.5836 MB / 0.8707 GB, free: 4.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.05901, allocations: 12 kB / 0.8707 GB, free: 4.418 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.05902, allocations: 3.984 kB / 0.8707 GB, free: 4.414 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.05902, allocations: 7.984 kB / 0.8707 GB, free: 4.406 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.06114, allocations: 1.846 MB / 0.8725 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.06115, allocations: 4.094 kB / 0.8725 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.06143, allocations: 123.8 kB / 0.8727 GB, free: 2.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001549/0.06158, allocations: 94.59 kB / 0.8727 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.06161, allocations: 16 kB / 0.8728 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.06161, allocations: 4 kB / 0.8728 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.06162, allocations: 4.25 kB / 0.8728 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.06236, allocations: 1.019 MB / 0.8738 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.06256, allocations: 171.2 kB / 0.8739 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.06264, allocations: 16 kB / 0.8739 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.06289, allocations: 23.94 kB / 0.874 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.06297, allocations: 60.42 kB / 0.874 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.06299, allocations: 20 kB / 0.874 GB, free: 0.832 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003213/0.06331, allocations: 495.5 kB / 0.8745 GB, free: 344 kB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.06331, allocations: 0 / 0.8745 GB, free: 344 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007939/0.06411, allocations: 388 kB / 0.8749 GB, free: 15.95 MB / 0.8386 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.0001623/0.06427, allocations: 131 kB / 0.875 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007255/0.065, allocations: 0.6867 MB / 0.8757 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.065, allocations: 0 / 0.8757 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.06526, allocations: 280.8 kB / 0.876 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.06607, allocations: 291.3 kB / 0.8762 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.06954, allocations: 3.295 MB / 0.8794 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.06998, allocations: 0.5711 MB / 0.88 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003579/0.07034, allocations: 157.7 kB / 0.8802 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.07072, allocations: 314 kB / 0.8805 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.07072, allocations: 0 / 0.8805 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.01887/0.08959, allocations: 14.02 MB / 0.8941 GB, free: 12.4 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2877310030162334]