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.002436/0.002436, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00283/0.00283, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.001/3.001, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",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.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.53e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02414/0.02416, allocations: 16.13 MB / 0.8266 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009909/0.03407, allocations: 4.895 MB / 0.8313 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/0.03506, allocations: 83.38 kB / 0.8314 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.03813, allocations: 1.08 MB / 0.8325 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.04009, allocations: 0.8083 MB / 0.8333 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.04253, allocations: 0.9314 MB / 0.8342 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005053/0.04759, allocations: 3.676 MB / 0.8378 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/0.05141, allocations: 2.455 MB / 0.8402 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.055, allocations: 2.297 MB / 0.8424 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.05788, allocations: 1.771 MB / 0.8441 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0006012/0.05848, allocations: 339.8 kB / 0.8445 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.06026, allocations: 0.7611 MB / 0.8452 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.06196, allocations: 1.444 MB / 0.8466 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.06349, allocations: 1.029 MB / 0.8476 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006884/0.07037, allocations: 5.271 MB / 0.8528 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.07038, allocations: 0 / 0.8528 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.333e-06/0.07038, allocations: 4 kB / 0.8528 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.878e-05/0.07048, allocations: 3.625 kB / 0.8528 GB, free: 7.004 MB / 0.8073 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.006411/0.07689, allocations: 3.054 MB / 0.8558 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.07693, allocations: 12.03 kB / 0.8558 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.08169, allocations: 1.241 MB / 0.857 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/0.08537, allocations: 1.465 MB / 0.8584 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.08555, allocations: 177.1 kB / 0.8586 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/0.08622, allocations: 236.3 kB / 0.8588 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005535/0.09176, allocations: 2.603 MB / 0.8613 GB, free: 13.96 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.93e-05/0.09181, allocations: 4.188 kB / 0.8614 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/0.0921, allocations: 96.36 kB / 0.8614 GB, free: 13.86 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/0.09234, allocations: 176.5 kB / 0.8616 GB, free: 13.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.09591, allocations: 1.216 MB / 0.8628 GB, free: 12.45 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.1174, allocations: 13.33 MB / 0.8758 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.1203, allocations: 0.9595 MB / 0.8767 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.1209, allocations: 272.9 kB / 0.877 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.121, allocations: 28.58 kB / 0.877 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.1211, allocations: 49.98 kB / 0.8771 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 3.005e-06/0.1211, allocations: 0 / 0.8771 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.004807/0.1259, allocations: 2.174 MB / 0.8792 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.126, allocations: 111.5 kB / 0.8793 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.1279, allocations: 1.233 MB / 0.8805 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.128, allocations: 37.7 kB / 0.8806 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.1291, allocations: 1.262 MB / 0.8818 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.1294, allocations: 321.6 kB / 0.8821 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005499/0.13, allocations: 341.2 kB / 0.8824 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005196/0.1305, allocations: 0.6875 MB / 0.8831 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006453/0.1311, allocations: 283.8 kB / 0.8834 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.1326, allocations: 1.154 MB / 0.8845 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.1352, allocations: 1.509 MB / 0.886 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.1352, allocations: 8 kB / 0.886 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002864/0.138, allocations: 1.397 MB / 0.8873 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.1381, allocations: 12 kB / 0.8873 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.1381, allocations: 20 kB / 0.8874 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/0.1385, allocations: 127.3 kB / 0.8875 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.1398, allocations: 351.3 kB / 0.8878 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.694e-05/0.1398, allocations: 39.86 kB / 0.8879 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009611/0.1408, allocations: 123.7 kB / 0.888 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.1409, allocations: 68 kB / 0.888 GB, free: 1.215 MB / 0.8386 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.0006988/0.1416, allocations: 324 kB / 0.8883 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.1419, allocations: 139.3 kB / 0.8885 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.1437, allocations: 0.7244 MB / 0.8892 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.1437, allocations: 8 kB / 0.8892 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1437, allocations: 4 kB / 0.8892 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.1437, allocations: 7.922 kB / 0.8892 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006151/0.1499, allocations: 3.054 MB / 0.8922 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.1499, allocations: 8.031 kB / 0.8922 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/0.1505, allocations: 155.8 kB / 0.8923 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.1509, allocations: 106.8 kB / 0.8924 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.1509, allocations: 12 kB / 0.8925 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.151, allocations: 7.938 kB / 0.8925 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.151, allocations: 7.984 kB / 0.8925 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.153, allocations: 1.183 MB / 0.8936 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.1536, allocations: 191.1 kB / 0.8938 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.1537, allocations: 16 kB / 0.8938 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.1543, allocations: 63.91 kB / 0.8939 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.1544, allocations: 60.55 kB / 0.8939 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.1545, allocations: 23.94 kB / 0.894 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001037/0.1555, allocations: 0.6715 MB / 0.8946 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.1555, allocations: 0 / 0.8946 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001473/0.157, allocations: 388 kB / 0.895 GB, free: 9.852 MB / 0.8542 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.0002377/0.1572, allocations: 143 kB / 0.8951 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002/0.1592, allocations: 0.9249 MB / 0.896 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1592, allocations: 128 / 0.896 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007541/0.16, allocations: 376.8 kB / 0.8964 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.1615, allocations: 274.2 kB / 0.8967 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006417/0.1679, allocations: 3.389 MB / 0.9 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.1696, allocations: 1.165 MB / 0.9011 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001092/0.1707, allocations: 365.3 kB / 0.9015 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.171, allocations: 84.48 kB / 0.9015 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/0.171, allocations: 0 / 0.9015 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.02803/0.199, allocations: 12.76 MB / 0.914 GB, free: 6.516 MB / 0.8698 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.377794070984237]