Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001453/0.001453, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001727/0.001728, allocations: 190.4 kB / 16.25 MB, free: 6.633 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 71.88 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7599, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02361/0.7835, allocations: 20.26 MB / 0.9689 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.7982, allocations: 7.619 MB / 0.9763 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002771/0.801, allocations: 51.66 kB / 0.9764 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004104/0.8052, allocations: 1.266 MB / 0.9776 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.8089, allocations: 0.9226 MB / 0.9785 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005937/0.8149, allocations: 1.861 MB / 0.9803 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007155/0.822, allocations: 4.345 MB / 0.9846 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.8358, allocations: 7.33 MB / 0.9917 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005151/0.841, allocations: 1.847 MB / 0.9936 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004733/0.8458, allocations: 2.322 MB / 0.9958 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.8474, allocations: 428 kB / 0.9962 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.8506, allocations: 0.9441 MB / 0.9971 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002906/0.8535, allocations: 1.649 MB / 0.9988 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003956/0.8575, allocations: 1.72 MB / 1 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007885/0.8654, allocations: 6.194 MB / 1.006 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.8655, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8655, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002313/0.8657, allocations: 4 kB / 1.006 GB, free: 7.109 MB / 0.7637 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.01067/0.8764, allocations: 3.044 MB / 1.009 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.8765, allocations: 12.02 kB / 1.009 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.8813, allocations: 0.7428 MB / 1.01 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/0.885, allocations: 1.548 MB / 1.012 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.8853, allocations: 214.2 kB / 1.012 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.8865, allocations: 292.2 kB / 1.012 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009235/0.8958, allocations: 5.09 MB / 1.017 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.232e-05/0.8959, allocations: 15.92 kB / 1.017 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/0.8962, allocations: 120 kB / 1.017 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002456/0.8965, allocations: 208.6 kB / 1.017 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007213/0.9037, allocations: 4.224 MB / 1.022 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/0.9295, allocations: 23.07 MB / 1.044 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.9324, allocations: 1.731 MB / 1.046 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.9339, allocations: 1.138 MB / 1.047 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.9341, allocations: 101.6 kB / 1.047 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.9341, allocations: 47.2 kB / 1.047 GB, free: 11 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=84): time 3.186e-06/0.9341, allocations: 0 / 1.047 GB, free: 11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87): time 0.00594/0.9401, allocations: 4.016 MB / 1.051 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.9402, allocations: 137.7 kB / 1.051 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.9413, allocations: 0.8682 MB / 1.052 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/0.9414, allocations: 41.7 kB / 1.052 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/0.9421, allocations: 1.162 MB / 1.053 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.9424, allocations: 311.6 kB / 1.053 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.9429, allocations: 270.6 kB / 1.054 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.9431, allocations: 410.7 kB / 1.054 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.9443, allocations: 0.8218 MB / 1.055 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.946, allocations: 1.318 MB / 1.056 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/0.9488, allocations: 2.163 MB / 1.058 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.9488, allocations: 4 kB / 1.058 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003542/0.9524, allocations: 2.215 MB / 1.06 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.9524, allocations: 9.875 kB / 1.06 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.9524, allocations: 16.09 kB / 1.061 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/0.9525, allocations: 27.94 kB / 1.061 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.9542, allocations: 415.3 kB / 1.061 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.953e-05/0.9542, allocations: 35.86 kB / 1.061 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.9557, allocations: 215.3 kB / 1.061 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.9558, allocations: 59.98 kB / 1.061 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002727/0.9585, allocations: 1.677 MB / 1.063 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001439/0.96, allocations: 1.19 MB / 1.064 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002489/0.9625, allocations: 1.898 MB / 1.066 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.038e-05/0.9625, allocations: 11.94 kB / 1.066 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003266/0.9658, allocations: 1.929 MB / 1.068 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.9658, allocations: 8 kB / 1.068 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.9659, allocations: 16 kB / 1.068 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.9659, allocations: 24 kB / 1.068 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9673, allocations: 372 kB / 1.068 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.9673, allocations: 27.92 kB / 1.068 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.9686, allocations: 175.3 kB / 1.068 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/0.9688, allocations: 63.97 kB / 1.068 GB, free: 4.145 MB / 0.8262 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.0004244/0.9692, allocations: 275.6 kB / 1.069 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.9694, allocations: 98.78 kB / 1.069 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.9724, allocations: 1.85 MB / 1.071 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.9725, allocations: 12 kB / 1.071 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.9725, allocations: 3.984 kB / 1.071 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.9725, allocations: 3.984 kB / 1.071 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.9856, allocations: 9.584 MB / 1.08 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.9857, allocations: 12 kB / 1.08 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.9871, allocations: 312.1 kB / 1.08 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/0.9871, allocations: 16 kB / 1.08 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/0.9872, allocations: 36 kB / 1.08 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-05/0.9872, allocations: 27.86 kB / 1.08 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/0.9872, allocations: 15.94 kB / 1.08 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/0.9902, allocations: 2.409 MB / 1.083 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/0.9909, allocations: 375.6 kB / 1.083 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.991, allocations: 28 kB / 1.083 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.9921, allocations: 143.7 kB / 1.083 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.9923, allocations: 91.61 kB / 1.083 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/0.9924, allocations: 39.98 kB / 1.083 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000954/0.9933, allocations: 0.6161 MB / 1.084 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9933, allocations: 0 / 1.084 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002543/0.9959, allocations: 0.7539 MB / 1.085 GB, free: 3.023 MB / 0.8419 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.0002551/0.9961, allocations: 142.9 kB / 1.085 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004717/1.001, allocations: 3.046 MB / 1.088 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.001, allocations: 96 / 1.088 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.002, allocations: 0.9193 MB / 1.089 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/1.004, allocations: 319.4 kB / 1.089 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009056/1.013, allocations: 6.197 MB / 1.095 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.015, allocations: 2.131 MB / 1.097 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002113/1.017, allocations: 0.7461 MB / 1.098 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.018, allocations: 87.41 kB / 1.098 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/1.018, allocations: 0 / 1.098 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of Templates: time 0.03035/1.048, allocations: 17.82 MB / 1.115 GB, free: 3.582 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches