Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 105.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.9301, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02909/0.9592, allocations: 20.44 MB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.9738, allocations: 7.694 MB / 1.195 GB, free: 7.66 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.9768, allocations: 59.81 kB / 1.195 GB, free: 7.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005823/0.9828, allocations: 1.371 MB / 1.196 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.987, allocations: 1.011 MB / 1.197 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.9929, allocations: 2.016 MB / 1.199 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006846/0.9998, allocations: 4.339 MB / 1.203 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/1.011, allocations: 6.149 MB / 1.209 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/1.016, allocations: 1.866 MB / 1.211 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004735/1.02, allocations: 2.201 MB / 1.213 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001703/1.022, allocations: 428 kB / 1.214 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/1.025, allocations: 0.9441 MB / 1.215 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/1.029, allocations: 1.653 MB / 1.216 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004212/1.033, allocations: 1.716 MB / 1.218 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00935/1.042, allocations: 6.2 MB / 1.224 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.042, allocations: 0 / 1.224 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.144e-06/1.042, allocations: 4 kB / 1.224 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002235/1.042, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009515/1.052, allocations: 3.117 MB / 1.227 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.052, allocations: 16.02 kB / 1.227 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/1.057, allocations: 0.7678 MB / 1.228 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/1.061, allocations: 1.571 MB / 1.229 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/1.061, allocations: 218.1 kB / 1.23 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/1.062, allocations: 284.4 kB / 1.23 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/1.076, allocations: 5.086 MB / 1.235 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001987/1.076, allocations: 7.938 kB / 1.235 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/1.078, allocations: 120 kB / 1.235 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004088/1.079, allocations: 212.6 kB / 1.235 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/1.09, allocations: 4.221 MB / 1.239 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0356/1.126, allocations: 22.97 MB / 1.262 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/1.129, allocations: 1.731 MB / 1.263 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/1.131, allocations: 1.145 MB / 1.265 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/1.131, allocations: 101.7 kB / 1.265 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/1.131, allocations: 51.16 kB / 1.265 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 3.847e-06/1.131, allocations: 0 / 1.265 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.00828/1.14, allocations: 4.106 MB / 1.269 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.14, allocations: 145.1 kB / 1.269 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.141, allocations: 0.8721 MB / 1.27 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/1.142, allocations: 41.7 kB / 1.27 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009826/1.143, allocations: 1.205 MB / 1.271 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000379/1.143, allocations: 317.3 kB / 1.271 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005618/1.143, allocations: 278.7 kB / 1.271 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002461/1.144, allocations: 414.6 kB / 1.272 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/1.145, allocations: 0.8257 MB / 1.273 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/1.147, allocations: 1.31 MB / 1.274 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/1.151, allocations: 2.159 MB / 1.276 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/1.151, allocations: 8 kB / 1.276 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004388/1.155, allocations: 2.219 MB / 1.278 GB, free: 15.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/1.155, allocations: 8 kB / 1.278 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.935e-05/1.155, allocations: 16 kB / 1.278 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-05/1.155, allocations: 23.94 kB / 1.278 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.157, allocations: 415.7 kB / 1.279 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.869e-05/1.157, allocations: 31.92 kB / 1.279 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/1.159, allocations: 211.4 kB / 1.279 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.159, allocations: 63.98 kB / 1.279 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00337/1.162, allocations: 1.677 MB / 1.281 GB, free: 12.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001852/1.164, allocations: 1.197 MB / 1.282 GB, free: 11.19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002961/1.167, allocations: 1.898 MB / 1.284 GB, free: 9.086 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-05/1.167, allocations: 7.938 kB / 1.284 GB, free: 9.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.00391/1.171, allocations: 1.934 MB / 1.285 GB, free: 7.137 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.171, allocations: 15.62 kB / 1.286 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.171, allocations: 15.94 kB / 1.286 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.841e-05/1.171, allocations: 28 kB / 1.286 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.173, allocations: 359.4 kB / 1.286 GB, free: 6.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-05/1.173, allocations: 35.86 kB / 1.286 GB, free: 6.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.174, allocations: 179.4 kB / 1.286 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.174, allocations: 63.98 kB / 1.286 GB, free: 6.457 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005274/1.175, allocations: 267.8 kB / 1.286 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/1.175, allocations: 103.3 kB / 1.287 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/1.179, allocations: 1.854 MB / 1.288 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.179, allocations: 12 kB / 1.288 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.179, allocations: 0 / 1.288 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.179, allocations: 3.984 kB / 1.288 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.195, allocations: 9.6 MB / 1.298 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/1.195, allocations: 12 kB / 1.298 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/1.197, allocations: 308.3 kB / 1.298 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.803e-05/1.197, allocations: 16 kB / 1.298 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.197, allocations: 32 kB / 1.298 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.992e-05/1.197, allocations: 35.73 kB / 1.298 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/1.197, allocations: 15.94 kB / 1.298 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/1.201, allocations: 2.402 MB / 1.3 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008414/1.201, allocations: 380.1 kB / 1.301 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/1.202, allocations: 32 kB / 1.301 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.203, allocations: 147.7 kB / 1.301 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.203, allocations: 87.67 kB / 1.301 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.808e-05/1.203, allocations: 40 kB / 1.301 GB, free: 6.684 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001169/1.204, allocations: 0.6161 MB / 1.302 GB, free: 6.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.205, allocations: 0 / 1.302 GB, free: 6.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003078/1.208, allocations: 0.75 MB / 1.302 GB, free: 5.32 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003374/1.208, allocations: 146.9 kB / 1.303 GB, free: 5.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005266/1.213, allocations: 2.901 MB / 1.305 GB, free: 2.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/1.213, allocations: 4 kB / 1.305 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/1.215, allocations: 0.9152 MB / 1.306 GB, free: 1.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.217, allocations: 302.7 kB / 1.307 GB, free: 1.078 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.228, allocations: 5.057 MB / 1.312 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/1.231, allocations: 2.131 MB / 1.314 GB, free: 9.672 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002482/1.234, allocations: 0.754 MB / 1.314 GB, free: 8.914 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/1.235, allocations: 83.42 kB / 1.314 GB, free: 8.832 MB / 1.045 GB Notification: Performance of SimCode: time 1.242e-06/1.235, allocations: 0 / 1.314 GB, free: 8.832 MB / 1.045 GB Notification: Performance of Templates: time 0.039/1.274, allocations: 18.34 MB / 1.332 GB, free: 6.648 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches