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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.00164, allocations: 114.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.02/3.02, allocations: 489.2 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_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.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0203/1.113, allocations: 16.01 MB / 1.278 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01157/1.124, allocations: 4.82 MB / 1.283 GB, free: 9.887 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/1.127, allocations: 65.69 kB / 1.283 GB, free: 9.867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004184/1.131, allocations: 1.055 MB / 1.284 GB, free: 9.219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004302/1.136, allocations: 0.7461 MB / 1.285 GB, free: 8.766 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/1.14, allocations: 0.9077 MB / 1.286 GB, free: 8.262 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006974/1.147, allocations: 3.61 MB / 1.289 GB, free: 6.668 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009255/1.156, allocations: 4.77 MB / 1.294 GB, free: 4.777 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/1.16, allocations: 1.584 MB / 1.295 GB, free: 4.047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004478/1.165, allocations: 1.783 MB / 1.297 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001667/1.166, allocations: 338.6 kB / 1.297 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/1.17, allocations: 0.7939 MB / 1.298 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003538/1.174, allocations: 1.324 MB / 1.299 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004274/1.178, allocations: 1.455 MB / 1.301 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009782/1.188, allocations: 5.15 MB / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/1.188, allocations: 1.344 kB / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.425e-06/1.188, allocations: 0 / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002099/1.188, allocations: 0 / 1.306 GB, free: 15.98 MB / 1.029 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.009937/1.198, allocations: 2.719 MB / 1.309 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.198, allocations: 9.484 kB / 1.309 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004695/1.203, allocations: 0.8383 MB / 1.309 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/1.207, allocations: 1.572 MB / 1.311 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/1.207, allocations: 185.1 kB / 1.311 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/1.208, allocations: 233.6 kB / 1.311 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/1.219, allocations: 4.154 MB / 1.315 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.452e-05/1.219, allocations: 11.77 kB / 1.315 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/1.219, allocations: 102.3 kB / 1.316 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002584/1.219, allocations: 170.1 kB / 1.316 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008206/1.228, allocations: 3.632 MB / 1.319 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0275/1.255, allocations: 16.45 MB / 1.335 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/1.259, allocations: 2.285 MB / 1.338 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/1.26, allocations: 0.5795 MB / 1.338 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/1.26, allocations: 105.6 kB / 1.338 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.26, allocations: 38.44 kB / 1.338 GB, free: 11.44 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 3.237e-06/1.26, allocations: 1.156 kB / 1.338 GB, free: 11.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.007041/1.267, allocations: 3.496 MB / 1.342 GB, free: 9.102 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.268, allocations: 115.1 kB / 1.342 GB, free: 8.969 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.269, allocations: 1.025 MB / 1.343 GB, free: 8.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/1.269, allocations: 36.39 kB / 1.343 GB, free: 8.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009686/1.27, allocations: 1.139 MB / 1.344 GB, free: 7.328 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/1.271, allocations: 288.2 kB / 1.344 GB, free: 7.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000477/1.271, allocations: 282.3 kB / 1.344 GB, free: 6.918 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002679/1.271, allocations: 414.9 kB / 1.345 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/1.272, allocations: 0.6165 MB / 1.345 GB, free: 6.219 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/1.274, allocations: 1.194 MB / 1.347 GB, free: 5.129 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/1.277, allocations: 1.863 MB / 1.348 GB, free: 3.672 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/1.277, allocations: 5.219 kB / 1.348 GB, free: 3.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003698/1.28, allocations: 2.02 MB / 1.35 GB, free: 2.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/1.28, allocations: 13.19 kB / 1.35 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/1.28, allocations: 23.06 kB / 1.35 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/1.281, allocations: 159.4 kB / 1.351 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.282, allocations: 348.1 kB / 1.351 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.577e-05/1.282, allocations: 38.92 kB / 1.351 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/1.283, allocations: 130.3 kB / 1.351 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.284, allocations: 67.39 kB / 1.351 GB, free: 2.336 MB / 1.045 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.002025/1.286, allocations: 0.9735 MB / 1.352 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/1.286, allocations: 121.5 kB / 1.352 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/1.288, allocations: 1.234 MB / 1.353 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.288, allocations: 11.31 kB / 1.353 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.288, allocations: 2.75 kB / 1.353 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.289, allocations: 5.172 kB / 1.353 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006898/1.295, allocations: 3.797 MB / 1.357 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.295, allocations: 2.219 kB / 1.357 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/1.296, allocations: 160.5 kB / 1.357 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003817/1.296, allocations: 141.5 kB / 1.357 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/1.297, allocations: 14.38 kB / 1.357 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/1.297, allocations: 13.62 kB / 1.357 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.297, allocations: 3.656 kB / 1.357 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.299, allocations: 1.473 MB / 1.359 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/1.3, allocations: 271 kB / 1.359 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/1.3, allocations: 22.81 kB / 1.359 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/1.3, allocations: 62.25 kB / 1.359 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.301, allocations: 62.98 kB / 1.359 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/1.301, allocations: 24.17 kB / 1.359 GB, free: 13.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001132/1.302, allocations: 0.6941 MB / 1.36 GB, free: 12.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.302, allocations: 0 / 1.36 GB, free: 12.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001902/1.304, allocations: 387.9 kB / 1.36 GB, free: 12.63 MB / 1.061 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.000264/1.304, allocations: 138.1 kB / 1.361 GB, free: 12.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002802/1.307, allocations: 1.712 MB / 1.362 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.307, allocations: 5.375 kB / 1.362 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.308, allocations: 0.8638 MB / 1.363 GB, free: 10.76 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/1.309, allocations: 266.4 kB / 1.363 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/1.318, allocations: 4.204 MB / 1.367 GB, free: 8.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/1.32, allocations: 1.962 MB / 1.369 GB, free: 6.906 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/1.32, allocations: 96.95 kB / 1.369 GB, free: 6.887 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/1.32, allocations: 4 kB / 1.369 GB, free: 6.883 MB / 1.061 GB Notification: Performance of Templates: time 0.0883/1.409, allocations: 73.43 MB / 1.441 GB, free: 14.52 MB / 1.139 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.948592149885371]