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.001659/0.001659, 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.001842/0.001842, allocations: 190.1 kB / 16.25 MB, free: 6.637 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.503/1.503, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.767/2.767, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7203, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02626/0.7466, allocations: 20.28 MB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.7609, allocations: 7.616 MB / 1.044 GB, free: 6.746 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.7639, allocations: 51.81 kB / 1.044 GB, free: 6.695 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.7687, allocations: 1.261 MB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.7724, allocations: 0.9186 MB / 1.046 GB, free: 4.508 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005976/0.7784, allocations: 1.855 MB / 1.048 GB, free: 2.656 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006726/0.7852, allocations: 4.354 MB / 1.052 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.7963, allocations: 7.322 MB / 1.059 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.7995, allocations: 1.866 MB / 1.061 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00367/0.8032, allocations: 2.306 MB / 1.064 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000753/0.8039, allocations: 428 kB / 1.064 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.8059, allocations: 0.9441 MB / 1.065 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.8077, allocations: 1.661 MB / 1.066 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.8098, allocations: 1.704 MB / 1.068 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00665/0.8165, allocations: 6.202 MB / 1.074 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8165, allocations: 0 / 1.074 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8165, allocations: 4 kB / 1.074 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000156/0.8167, allocations: 0 / 1.074 GB, free: 7.754 MB / 0.8262 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.006883/0.8236, allocations: 3.047 MB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.8237, allocations: 8.031 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/0.8275, allocations: 0.7467 MB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/0.8305, allocations: 1.54 MB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.8307, allocations: 218.2 kB / 1.08 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/0.8313, allocations: 288.3 kB / 1.08 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009978/0.8413, allocations: 5.086 MB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-05/0.8414, allocations: 7.938 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.8417, allocations: 120 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/0.842, allocations: 208.6 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008211/0.8502, allocations: 4.22 MB / 1.089 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03009/0.8804, allocations: 23.08 MB / 1.112 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.8835, allocations: 1.731 MB / 1.114 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.8852, allocations: 1.13 MB / 1.115 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.8854, allocations: 105.7 kB / 1.115 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.8855, allocations: 43.22 kB / 1.115 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 3.046e-06/0.8855, allocations: 4 kB / 1.115 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.007594/0.8931, allocations: 4.008 MB / 1.119 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.8933, allocations: 137.2 kB / 1.119 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.8948, allocations: 0.8681 MB / 1.12 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.8949, allocations: 41.64 kB / 1.12 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.896, allocations: 1.17 MB / 1.121 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.8964, allocations: 307.6 kB / 1.121 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/0.8969, allocations: 274.6 kB / 1.121 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002411/0.8971, allocations: 406.7 kB / 1.122 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.8985, allocations: 0.8257 MB / 1.123 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.9005, allocations: 1.314 MB / 1.124 GB, free: 2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.9037, allocations: 2.163 MB / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.9038, allocations: 4 kB / 1.126 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003843/0.9076, allocations: 2.214 MB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.9077, allocations: 12 kB / 1.128 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.9077, allocations: 12 kB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.9077, allocations: 20.78 kB / 1.128 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.9094, allocations: 423.2 kB / 1.129 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.344e-05/0.9095, allocations: 27.92 kB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.911, allocations: 211.3 kB / 1.129 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.9111, allocations: 71.92 kB / 1.129 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002997/0.9141, allocations: 1.673 MB / 1.131 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00169/0.9158, allocations: 1.194 MB / 1.132 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002778/0.9186, allocations: 1.898 MB / 1.134 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.21e-05/0.9187, allocations: 11.92 kB / 1.134 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003534/0.9222, allocations: 1.926 MB / 1.135 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.9222, allocations: 17.62 kB / 1.135 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.9223, allocations: 16 kB / 1.135 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.9223, allocations: 23.94 kB / 1.136 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.9237, allocations: 363.4 kB / 1.136 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.849e-05/0.9238, allocations: 31.88 kB / 1.136 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.9252, allocations: 179.3 kB / 1.136 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.9253, allocations: 64 kB / 1.136 GB, free: 4.809 MB / 0.8887 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.000491/0.9258, allocations: 267.8 kB / 1.136 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.9261, allocations: 102.8 kB / 1.136 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.9292, allocations: 1.854 MB / 1.138 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.9292, allocations: 8 kB / 1.138 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.9292, allocations: 0 / 1.138 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.9293, allocations: 7.984 kB / 1.138 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.9436, allocations: 9.596 MB / 1.148 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-05/0.9437, allocations: 12 kB / 1.148 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.945, allocations: 307.5 kB / 1.148 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.472e-05/0.945, allocations: 16 kB / 1.148 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.9451, allocations: 28 kB / 1.148 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-05/0.9451, allocations: 27.86 kB / 1.148 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.071e-05/0.9452, allocations: 19.88 kB / 1.148 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.9485, allocations: 2.398 MB / 1.15 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006597/0.9491, allocations: 375.6 kB / 1.151 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.9493, allocations: 35.89 kB / 1.151 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.9504, allocations: 147.7 kB / 1.151 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.9506, allocations: 91.61 kB / 1.151 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.6e-05/0.9507, allocations: 36 kB / 1.151 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009492/0.9516, allocations: 0.6122 MB / 1.152 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9516, allocations: 0 / 1.152 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002635/0.9543, allocations: 0.7578 MB / 1.152 GB, free: 3.691 MB / 0.9044 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.0003027/0.9546, allocations: 147.4 kB / 1.153 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005334/0.9599, allocations: 3.049 MB / 1.156 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/0.96, allocations: 5.375 kB / 1.156 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.9615, allocations: 0.9073 MB / 1.156 GB, free: 15.59 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.9635, allocations: 306.5 kB / 1.157 GB, free: 15.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.9736, allocations: 6.215 MB / 1.163 GB, free: 8.902 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/0.976, allocations: 2.124 MB / 1.165 GB, free: 6.742 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002322/0.9784, allocations: 0.7579 MB / 1.166 GB, free: 5.98 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.9788, allocations: 83.42 kB / 1.166 GB, free: 5.898 MB / 0.92 GB Notification: Performance of SimCode: time 1.042e-06/0.9788, allocations: 4 kB / 1.166 GB, free: 5.895 MB / 0.92 GB Notification: Performance of Templates: time 0.03543/1.014, allocations: 17.82 MB / 1.183 GB, free: 4.234 MB / 0.9356 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=400 -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/jenkins/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