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.001566/0.001566, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001054/0.001054, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8951/0.8951, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.845/1.845, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.824e-06/1.824e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.115e-05, allocations: 3.969 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0122/0.01223, allocations: 9.289 MB / 0.8206 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005751/0.01798, allocations: 2.824 MB / 0.8234 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009362/0.01892, allocations: 87.38 kB / 0.8234 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.01995, allocations: 329.8 kB / 0.8238 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.02128, allocations: 0.6619 MB / 0.8244 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.02272, allocations: 0.6374 MB / 0.825 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003173/0.0259, allocations: 3.609 MB / 0.8286 GB, free: 280 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.02836, allocations: 2.458 MB / 0.831 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.03064, allocations: 2.27 MB / 0.8332 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.03255, allocations: 1.804 MB / 0.8349 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005624/0.03311, allocations: 336 kB / 0.8353 GB, free: 9.34 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.03381, allocations: 467.7 kB / 0.8357 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0009776/0.03479, allocations: 1.438 MB / 0.8371 GB, free: 7.441 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.03603, allocations: 1.025 MB / 0.8381 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.03841, allocations: 2.677 MB / 0.8407 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.03842, allocations: 3.438 kB / 0.8407 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.703e-06/0.03842, allocations: 0 / 0.8407 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000112/0.03853, allocations: 0 / 0.8407 GB, free: 3.73 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.003718/0.04225, allocations: 2.794 MB / 0.8435 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.04229, allocations: 12.62 kB / 0.8435 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.04458, allocations: 1.201 MB / 0.8446 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.04607, allocations: 1.43 MB / 0.846 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.814e-05/0.04616, allocations: 177.1 kB / 0.8462 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.0464, allocations: 241.9 kB / 0.8464 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.04931, allocations: 2.319 MB / 0.8487 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.04936, allocations: 4.188 kB / 0.8487 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.04953, allocations: 96.36 kB / 0.8488 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.04966, allocations: 173 kB / 0.849 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.05155, allocations: 0.9919 MB / 0.8499 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008344/0.05989, allocations: 10.76 MB / 0.8604 GB, free: 14.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.06132, allocations: 1.041 MB / 0.8615 GB, free: 13.83 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.06162, allocations: 212.9 kB / 0.8617 GB, free: 13.61 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-05/0.06169, allocations: 36.58 kB / 0.8617 GB, free: 13.58 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.06171, allocations: 45.98 kB / 0.8617 GB, free: 13.52 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 2.385e-06/0.06172, allocations: 0 / 0.8617 GB, free: 13.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.002304/0.06402, allocations: 2.014 MB / 0.8637 GB, free: 11.48 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.06406, allocations: 111.5 kB / 0.8638 GB, free: 11.35 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.06479, allocations: 0.9365 MB / 0.8647 GB, free: 10.38 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.06483, allocations: 41.64 kB / 0.8648 GB, free: 10.34 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.06532, allocations: 1.211 MB / 0.8659 GB, free: 9.109 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.06547, allocations: 289.6 kB / 0.8662 GB, free: 8.824 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.06572, allocations: 301 kB / 0.8665 GB, free: 8.523 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.06593, allocations: 0.6133 MB / 0.8671 GB, free: 7.898 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.06621, allocations: 195.9 kB / 0.8673 GB, free: 7.707 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006291/0.06683, allocations: 1.021 MB / 0.8683 GB, free: 6.324 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/0.0678, allocations: 1.314 MB / 0.8696 GB, free: 4.648 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.06781, allocations: 4 kB / 0.8696 GB, free: 4.645 MB / 0.823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001313/0.06912, allocations: 1.203 MB / 0.8708 GB, free: 3.418 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.06914, allocations: 20.06 kB / 0.8708 GB, free: 3.398 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.06916, allocations: 16 kB / 0.8708 GB, free: 3.383 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.06938, allocations: 114.7 kB / 0.8709 GB, free: 3.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.06998, allocations: 343.3 kB / 0.8712 GB, free: 2.918 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.07, allocations: 39.86 kB / 0.8713 GB, free: 2.879 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.07044, allocations: 127.8 kB / 0.8714 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.0705, allocations: 64 kB / 0.8714 GB, free: 2.691 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.0002829/0.07078, allocations: 256 kB / 0.8717 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.07092, allocations: 143.2 kB / 0.8718 GB, free: 2.289 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007855/0.0717, allocations: 0.6383 MB / 0.8724 GB, free: 1.621 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.07171, allocations: 8 kB / 0.8725 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.07171, allocations: 0 / 0.8725 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.07172, allocations: 7.984 kB / 0.8725 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.07419, allocations: 2.388 MB / 0.8748 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.0742, allocations: 4 kB / 0.8748 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.07451, allocations: 155.8 kB / 0.8749 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/0.07466, allocations: 86.69 kB / 0.875 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.0747, allocations: 16 kB / 0.875 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.0747, allocations: 12.19 kB / 0.8751 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0747, allocations: 4 kB / 0.8751 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.07552, allocations: 1.062 MB / 0.8761 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.07573, allocations: 191.2 kB / 0.8763 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.07581, allocations: 16 kB / 0.8763 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.07609, allocations: 63.91 kB / 0.8764 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.07619, allocations: 56.55 kB / 0.8764 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.07621, allocations: 27.94 kB / 0.8764 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000414/0.07663, allocations: 0.5113 MB / 0.8769 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.07663, allocations: 0 / 0.8769 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007181/0.07735, allocations: 396 kB / 0.8773 GB, free: 12.43 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.0001653/0.07751, allocations: 131 kB / 0.8774 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000908/0.07842, allocations: 0.7491 MB / 0.8782 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.07842, allocations: 4 kB / 0.8782 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.07875, allocations: 308.8 kB / 0.8785 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/0.07954, allocations: 274.6 kB / 0.8787 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.08306, allocations: 3.314 MB / 0.882 GB, free: 7.543 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.08349, allocations: 0.5711 MB / 0.8825 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005629/0.08405, allocations: 365.3 kB / 0.8829 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.08422, allocations: 84.48 kB / 0.883 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of SimCode: time 1.693e-06/0.08422, allocations: 0 / 0.883 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of Templates: time 0.01736/0.1016, allocations: 13.43 MB / 0.8961 GB, free: 9.375 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.163792205043137]