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.001255/0.001255, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001292/0.001292, allocations: 185 kB / 24.09 MB, free: 424 kB / 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.9475/0.9475, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.816/1.816, allocations: 377.9 MB / 0.624 GB, free: 8.434 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.583e-06/1.583e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.472e-05, allocations: 2.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.007109/0.007124, allocations: 9.056 MB / 0.8209 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00371/0.01083, allocations: 2.819 MB / 0.8236 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.01138, allocations: 83.38 kB / 0.8237 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.01203, allocations: 326.6 kB / 0.824 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007954/0.01282, allocations: 0.6701 MB / 0.8247 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.01368, allocations: 0.6372 MB / 0.8253 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.01605, allocations: 3.602 MB / 0.8288 GB, free: 260 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.01827, allocations: 2.47 MB / 0.8312 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.02027, allocations: 2.255 MB / 0.8334 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.02179, allocations: 1.807 MB / 0.8352 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003236/0.02211, allocations: 336 kB / 0.8355 GB, free: 9.32 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.02266, allocations: 475.6 kB / 0.8359 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0008002/0.02346, allocations: 1.43 MB / 0.8373 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0007857/0.02424, allocations: 1.026 MB / 0.8383 GB, free: 6.395 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.02595, allocations: 2.684 MB / 0.841 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.02595, allocations: 4.75 kB / 0.841 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.31e-07/0.02595, allocations: 0 / 0.841 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.14e-05/0.02598, allocations: 0.9375 kB / 0.841 GB, free: 3.695 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.002713/0.02869, allocations: 2.787 MB / 0.8437 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.02873, allocations: 13.12 kB / 0.8437 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.03065, allocations: 0.8921 MB / 0.8446 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.03198, allocations: 1.274 MB / 0.8458 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.03208, allocations: 174.1 kB / 0.846 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/0.03239, allocations: 236.3 kB / 0.8462 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.03471, allocations: 2.143 MB / 0.8483 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.03475, allocations: 12.08 kB / 0.8483 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.03491, allocations: 98.23 kB / 0.8484 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.03504, allocations: 172.5 kB / 0.8486 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.0364, allocations: 0.7766 MB / 0.8493 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007752/0.04415, allocations: 10.53 MB / 0.8596 GB, free: 15.95 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009777/0.04513, allocations: 0.6835 MB / 0.8603 GB, free: 15.23 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.04534, allocations: 188.9 kB / 0.8605 GB, free: 15.04 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/0.04541, allocations: 28.62 kB / 0.8605 GB, free: 15.01 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.04543, allocations: 42.05 kB / 0.8605 GB, free: 14.96 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 2.014e-06/0.04543, allocations: 0 / 0.8605 GB, free: 14.96 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.00161/0.04704, allocations: 1.08 MB / 0.8616 GB, free: 13.86 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.04709, allocations: 119.4 kB / 0.8617 GB, free: 13.72 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.04778, allocations: 0.9321 MB / 0.8626 GB, free: 12.76 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.04781, allocations: 33.7 kB / 0.8626 GB, free: 12.72 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/0.04831, allocations: 1.219 MB / 0.8638 GB, free: 11.48 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.04845, allocations: 301.6 kB / 0.8641 GB, free: 11.19 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.0487, allocations: 297 kB / 0.8644 GB, free: 10.89 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.04891, allocations: 0.6248 MB / 0.865 GB, free: 10.25 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.04908, allocations: 147.9 kB / 0.8652 GB, free: 10.11 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.0496, allocations: 0.9896 MB / 0.8661 GB, free: 8.758 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/0.05041, allocations: 1.247 MB / 0.8673 GB, free: 7.148 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.05042, allocations: 12 kB / 0.8674 GB, free: 7.137 MB / 0.823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001082/0.0515, allocations: 1.101 MB / 0.8684 GB, free: 6.012 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.05152, allocations: 12 kB / 0.8684 GB, free: 6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.05153, allocations: 20 kB / 0.8685 GB, free: 5.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.05171, allocations: 114.6 kB / 0.8686 GB, free: 5.852 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.05223, allocations: 296 kB / 0.8689 GB, free: 5.562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/0.05226, allocations: 43.86 kB / 0.8689 GB, free: 5.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.05262, allocations: 79.78 kB / 0.869 GB, free: 5.441 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.05267, allocations: 56 kB / 0.869 GB, free: 5.387 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.0002567/0.05293, allocations: 256 kB / 0.8693 GB, free: 5.125 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.05306, allocations: 127.3 kB / 0.8694 GB, free: 5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.0537, allocations: 0.5836 MB / 0.87 GB, free: 4.387 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.0537, allocations: 15.94 kB / 0.87 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.05371, allocations: 4 kB / 0.87 GB, free: 4.367 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.05372, allocations: 3.984 kB / 0.87 GB, free: 4.363 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.05557, allocations: 1.842 MB / 0.8718 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.05558, allocations: 7.938 kB / 0.8718 GB, free: 2.418 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.05584, allocations: 128.1 kB / 0.8719 GB, free: 2.293 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.05598, allocations: 86.61 kB / 0.872 GB, free: 2.191 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.056, allocations: 20 kB / 0.872 GB, free: 2.172 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.05601, allocations: 7.984 kB / 0.872 GB, free: 2.164 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.05601, allocations: 4 kB / 0.872 GB, free: 2.16 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.05669, allocations: 1.008 MB / 0.873 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.05687, allocations: 171.2 kB / 0.8732 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.05694, allocations: 23.94 kB / 0.8732 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.05717, allocations: 23.98 kB / 0.8732 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.05725, allocations: 64.48 kB / 0.8733 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.05727, allocations: 16 kB / 0.8733 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003014/0.05757, allocations: 487.5 kB / 0.8738 GB, free: 308 kB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.05757, allocations: 0 / 0.8738 GB, free: 308 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007028/0.05827, allocations: 392 kB / 0.8741 GB, free: 15.91 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.0001438/0.05842, allocations: 131 kB / 0.8743 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006699/0.05909, allocations: 0.6789 MB / 0.8749 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.05909, allocations: 4 kB / 0.8749 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.05934, allocations: 281.4 kB / 0.8752 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.06008, allocations: 269.8 kB / 0.8754 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.06313, allocations: 3.299 MB / 0.8787 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.06354, allocations: 0.575 MB / 0.8792 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000336/0.06388, allocations: 169.7 kB / 0.8794 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.06425, allocations: 322 kB / 0.8797 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.06425, allocations: 0 / 0.8797 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.01867/0.08292, allocations: 13.78 MB / 0.8932 GB, free: 12.58 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.055356540251523]