Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00078/0.00078, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001897, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007177/0.0007177, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009838/0.001702, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9522/0.9522, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09784/1.05, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.402/2.402, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2457/2.647, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.414e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.008026/0.00805, allocations: 9.404 MB / 0.8275 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005466/0.01352, allocations: 2.989 MB / 0.8304 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.01481, allocations: 87.31 kB / 0.8305 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009826/0.01579, allocations: 353.7 kB / 0.8308 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.01726, allocations: 0.804 MB / 0.8316 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.01847, allocations: 0.6354 MB / 0.8322 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003643/0.02212, allocations: 4.201 MB / 0.8363 GB, free: 360 kB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.02484, allocations: 2.54 MB / 0.8388 GB, free: 13.72 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004745/0.02959, allocations: 2.564 MB / 0.8413 GB, free: 11.15 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/0.03262, allocations: 2.022 MB / 0.8433 GB, free: 9.125 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007613/0.03338, allocations: 340 kB / 0.8436 GB, free: 8.793 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.03464, allocations: 475.6 kB / 0.8441 GB, free: 8.328 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.03599, allocations: 1.361 MB / 0.8454 GB, free: 6.965 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.03741, allocations: 0.8658 MB / 0.8462 GB, free: 6.098 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.03982, allocations: 2.563 MB / 0.8487 GB, free: 3.527 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.987e-05/0.03984, allocations: 8 kB / 0.8487 GB, free: 3.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.03984, allocations: 0 / 0.8487 GB, free: 3.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.789e-05/0.03991, allocations: 0 / 0.8487 GB, free: 3.52 MB / 0.823 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.00328/0.04319, allocations: 2.988 MB / 0.8517 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.04323, allocations: 12.61 kB / 0.8517 GB, free: 492 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.04516, allocations: 0.9067 MB / 0.8526 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.04651, allocations: 1.167 MB / 0.8537 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/0.0466, allocations: 185.1 kB / 0.8539 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.04685, allocations: 236.3 kB / 0.8541 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.04911, allocations: 2.118 MB / 0.8562 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.04915, allocations: 192 / 0.8562 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.04933, allocations: 112.3 kB / 0.8563 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.04946, allocations: 172.4 kB / 0.8564 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.05055, allocations: 0.6676 MB / 0.8571 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009234/0.05979, allocations: 8.253 MB / 0.8652 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.06086, allocations: 0.6915 MB / 0.8658 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.06109, allocations: 168.4 kB / 0.866 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.316e-05/0.06118, allocations: 20.64 kB / 0.866 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.06122, allocations: 47.16 kB / 0.8661 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 7.574e-06/0.06123, allocations: 0 / 0.8661 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.001993/0.06322, allocations: 0.9442 MB / 0.867 GB, free: 196 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.06328, allocations: 115.5 kB / 0.8671 GB, free: 52 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.06386, allocations: 0.7533 MB / 0.8678 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.0639, allocations: 37.7 kB / 0.8679 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/0.06432, allocations: 1.061 MB / 0.8689 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.06447, allocations: 289.4 kB / 0.8692 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.0647, allocations: 251.3 kB / 0.8694 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.06486, allocations: 414.5 kB / 0.8698 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.06504, allocations: 136 kB / 0.8699 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.06547, allocations: 0.7013 MB / 0.8706 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/0.0662, allocations: 0.9691 MB / 0.8716 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.06621, allocations: 4 kB / 0.8716 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001113/0.06732, allocations: 0.9023 MB / 0.8725 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.06735, allocations: 15.98 kB / 0.8725 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.06737, allocations: 20 kB / 0.8725 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.06759, allocations: 102.7 kB / 0.8726 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.06823, allocations: 339.5 kB / 0.8729 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/0.06825, allocations: 47.78 kB / 0.873 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.06875, allocations: 64.12 kB / 0.873 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.0688, allocations: 52 kB / 0.8731 GB, free: 9.297 MB / 0.8542 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.0005968/0.0694, allocations: 216 kB / 0.8733 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.06955, allocations: 91.91 kB / 0.8734 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000695/0.07024, allocations: 0.5056 MB / 0.8739 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.07025, allocations: 8.094 kB / 0.8739 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.07026, allocations: 4 kB / 0.8739 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.07027, allocations: 11.97 kB / 0.8739 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.07261, allocations: 1.774 MB / 0.8756 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.07261, allocations: 0 / 0.8756 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.07295, allocations: 139.8 kB / 0.8757 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.0732, allocations: 143.5 kB / 0.8759 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.07338, allocations: 86.69 kB / 0.876 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.07341, allocations: 16 kB / 0.876 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.07342, allocations: 11.94 kB / 0.876 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.07342, allocations: 0 / 0.876 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.07421, allocations: 0.8784 MB / 0.8768 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.07434, allocations: 23.88 kB / 0.8769 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.07462, allocations: 16 kB / 0.8769 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.07473, allocations: 60.55 kB / 0.8769 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.07475, allocations: 19.98 kB / 0.877 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003809/0.07513, allocations: 341.3 kB / 0.8773 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/0.07513, allocations: 0 / 0.8773 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001336/0.07647, allocations: 407.9 kB / 0.8777 GB, free: 4.359 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.0002051/0.07668, allocations: 108.2 kB / 0.8778 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.07768, allocations: 0.5972 MB / 0.8784 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.056e-05/0.07774, allocations: 28.44 kB / 0.8784 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.07803, allocations: 248.5 kB / 0.8786 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.07905, allocations: 372.4 kB / 0.879 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.09246, allocations: 3.57 MB / 0.8825 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.09297, allocations: 0.5672 MB / 0.883 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005954/0.09356, allocations: 157.7 kB / 0.8832 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.09397, allocations: 277.2 kB / 0.8834 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of SimCode: time 3.457e-06/0.09398, allocations: 4 kB / 0.8834 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of Templates: time 0.02411/0.1181, allocations: 14.16 MB / 0.8973 GB, free: 460 kB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.ref.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.552940368652344]