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.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.0009522/0.0009522, allocations: 77.88 kB / 20.68 MB, free: 3.824 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.000935/0.000935, allocations: 180.9 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.8724/0.8724, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.685/1.685, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7876 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.623e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0105/0.01051, allocations: 9.056 MB / 0.7964 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003875/0.01439, allocations: 2.819 MB / 0.7992 GB, free: 336 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006051/0.01499, allocations: 87.38 kB / 0.7992 GB, free: 248 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.01565, allocations: 323.3 kB / 0.7995 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0008698/0.01652, allocations: 0.669 MB / 0.8002 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009282/0.01745, allocations: 0.6335 MB / 0.8008 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.02007, allocations: 3.606 MB / 0.8043 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.02253, allocations: 2.447 MB / 0.8067 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.02493, allocations: 2.27 MB / 0.8089 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.02683, allocations: 1.791 MB / 0.8107 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004698/0.0273, allocations: 340 kB / 0.811 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006501/0.02795, allocations: 472.1 kB / 0.8115 GB, free: 3.637 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008521/0.0288, allocations: 1.438 MB / 0.8129 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.02962, allocations: 1.026 MB / 0.8139 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.03138, allocations: 2.68 MB / 0.8165 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03138, allocations: 4.891 kB / 0.8165 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.03138, allocations: 0 / 0.8165 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.03141, allocations: 4 kB / 0.8165 GB, free: 14.47 MB / 0.7761 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.002469/0.03388, allocations: 2.788 MB / 0.8192 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.03391, allocations: 12.03 kB / 0.8192 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.03572, allocations: 0.89 MB / 0.8201 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.03695, allocations: 1.278 MB / 0.8214 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/0.03703, allocations: 177.1 kB / 0.8215 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.03729, allocations: 232.3 kB / 0.8217 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.03935, allocations: 2.144 MB / 0.8238 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.03939, allocations: 8.125 kB / 0.8238 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.03954, allocations: 102 kB / 0.8239 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.03966, allocations: 172.5 kB / 0.8241 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.04077, allocations: 0.7676 MB / 0.8249 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007503/0.04828, allocations: 10.54 MB / 0.8351 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.04928, allocations: 0.7022 MB / 0.8358 GB, free: 10 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.0495, allocations: 184.9 kB / 0.836 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.04957, allocations: 32.62 kB / 0.836 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.04959, allocations: 49.98 kB / 0.8361 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=72): time 1.813e-06/0.04959, allocations: 0 / 0.8361 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of matching and sorting (n=76): time 0.001575/0.05117, allocations: 1.08 MB / 0.8371 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.05121, allocations: 115.4 kB / 0.8373 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/0.05185, allocations: 0.9282 MB / 0.8382 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.05188, allocations: 37.7 kB / 0.8382 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.05238, allocations: 1.219 MB / 0.8394 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.05253, allocations: 293.6 kB / 0.8397 GB, free: 5.957 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.05278, allocations: 305 kB / 0.84 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.05299, allocations: 0.6248 MB / 0.8406 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.05317, allocations: 147.9 kB / 0.8407 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.05371, allocations: 0.9895 MB / 0.8417 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.05453, allocations: 1.243 MB / 0.8429 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.05453, allocations: 8 kB / 0.8429 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001075/0.05561, allocations: 1.109 MB / 0.844 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.05563, allocations: 12 kB / 0.844 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.05564, allocations: 23.94 kB / 0.844 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.05583, allocations: 110.6 kB / 0.8441 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.05637, allocations: 307.4 kB / 0.8444 GB, free: 320 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.05639, allocations: 40.28 kB / 0.8444 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.05676, allocations: 67.86 kB / 0.8445 GB, free: 212 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.05682, allocations: 56 kB / 0.8446 GB, free: 156 kB / 0.7917 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.0003024/0.05712, allocations: 252 kB / 0.8448 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.05726, allocations: 139.3 kB / 0.8449 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.05792, allocations: 0.5797 MB / 0.8455 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.05793, allocations: 8 kB / 0.8455 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.05793, allocations: 8 kB / 0.8455 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.05794, allocations: 3.984 kB / 0.8455 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.05982, allocations: 1.842 MB / 0.8473 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.05982, allocations: 4 kB / 0.8473 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.06008, allocations: 127.8 kB / 0.8475 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.06022, allocations: 90.86 kB / 0.8475 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.06025, allocations: 19.98 kB / 0.8476 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.06025, allocations: 4 kB / 0.8476 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.06026, allocations: 4 kB / 0.8476 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.06094, allocations: 1.015 MB / 0.8486 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.06113, allocations: 175.2 kB / 0.8487 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.0612, allocations: 16 kB / 0.8487 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.06143, allocations: 23.98 kB / 0.8488 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.0615, allocations: 60.48 kB / 0.8488 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.06153, allocations: 20 kB / 0.8488 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003127/0.06184, allocations: 487.5 kB / 0.8493 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.06184, allocations: 4 kB / 0.8493 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007095/0.06255, allocations: 391.9 kB / 0.8497 GB, free: 10.68 MB / 0.8073 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.0001477/0.0627, allocations: 129.2 kB / 0.8498 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006738/0.06337, allocations: 0.6811 MB / 0.8505 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.06337, allocations: 1.875 kB / 0.8505 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.06362, allocations: 284.8 kB / 0.8507 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.06439, allocations: 267 kB / 0.851 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.06754, allocations: 3.301 MB / 0.8542 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.06796, allocations: 0.5788 MB / 0.8548 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003506/0.06831, allocations: 165.7 kB / 0.8549 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.06869, allocations: 314 kB / 0.8552 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.06869, allocations: 4 kB / 0.8552 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of Templates: time 0.01864/0.08734, allocations: 13.78 MB / 0.8687 GB, free: 7.328 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.774619714356959]