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.0008311/0.0008311, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005754/0.005754, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.367 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.467/2.467, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 12.23 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7566, allocations: 142.4 MB / 0.955 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01971/0.7763, allocations: 19.64 MB / 0.9742 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.789, allocations: 7.645 MB / 0.9817 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.7909, allocations: 51.03 kB / 0.9817 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.7922, allocations: 372.6 kB / 0.9821 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.7958, allocations: 0.9406 MB / 0.983 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004829/0.8007, allocations: 1.319 MB / 0.9843 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007548/0.8082, allocations: 6.439 MB / 0.9906 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.8192, allocations: 7.525 MB / 0.9979 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.8213, allocations: 1.253 MB / 0.9992 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002887/0.8242, allocations: 1.877 MB / 1.001 GB, free: 96 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005667/0.8248, allocations: 176 kB / 1.001 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.8267, allocations: 0.8578 MB / 1.002 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.8282, allocations: 1.337 MB / 1.003 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.8299, allocations: 1.37 MB / 1.005 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005486/0.8354, allocations: 5.89 MB / 1.01 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8355, allocations: 0 / 1.01 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8355, allocations: 0 / 1.01 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.895e-05/0.8356, allocations: 0 / 1.01 GB, free: 6.434 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.004854/0.8404, allocations: 2.447 MB / 1.013 GB, free: 3.926 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.8405, allocations: 15.97 kB / 1.013 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003679/0.8442, allocations: 0.7507 MB / 1.014 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.8467, allocations: 1.544 MB / 1.015 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.8469, allocations: 222.1 kB / 1.015 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004881/0.8474, allocations: 284.4 kB / 1.016 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00861/0.856, allocations: 5.097 MB / 1.021 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.568e-05/0.8561, allocations: 11.94 kB / 1.021 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/0.8565, allocations: 124 kB / 1.021 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/0.8567, allocations: 204.6 kB / 1.021 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007711/0.8644, allocations: 4.232 MB / 1.025 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02538/0.8898, allocations: 23.09 MB / 1.048 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.8928, allocations: 1.743 MB / 1.049 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.8944, allocations: 1.129 MB / 1.05 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.8945, allocations: 105.7 kB / 1.05 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.8946, allocations: 47.16 kB / 1.05 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=84): time 2.865e-06/0.8946, allocations: 0 / 1.05 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87): time 0.005909/0.9005, allocations: 4.024 MB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.9006, allocations: 137.2 kB / 1.055 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.9018, allocations: 0.8682 MB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.231e-05/0.9019, allocations: 41.7 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.9027, allocations: 1.17 MB / 1.057 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.903, allocations: 307.6 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.9032, allocations: 101.7 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.9034, allocations: 410.7 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.9047, allocations: 0.8184 MB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.9063, allocations: 1.318 MB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.9093, allocations: 2.179 MB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.9093, allocations: 4.094 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003576/0.9129, allocations: 2.222 MB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003392/0.9133, allocations: 0.4928 MB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.9133, allocations: 16 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.9133, allocations: 20 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.915, allocations: 427.2 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/0.9151, allocations: 27.92 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.9164, allocations: 223.2 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.9166, allocations: 59.98 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.9166, allocations: 7.938 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002812/0.9194, allocations: 1.812 MB / 1.067 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.9194, allocations: 16.22 kB / 1.067 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9194, allocations: 24.14 kB / 1.067 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.9208, allocations: 363.4 kB / 1.067 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.617e-05/0.9208, allocations: 35.86 kB / 1.067 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.9218, allocations: 163.3 kB / 1.067 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/0.9219, allocations: 55.98 kB / 1.067 GB, free: 8.848 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.001854/0.9238, allocations: 1.176 MB / 1.068 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.924, allocations: 106.8 kB / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.9271, allocations: 1.862 MB / 1.07 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.9271, allocations: 8 kB / 1.07 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.9272, allocations: 4 kB / 1.07 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.9272, allocations: 3.984 kB / 1.07 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.9403, allocations: 9.599 MB / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.9403, allocations: 12 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.9416, allocations: 312.1 kB / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.189e-05/0.9416, allocations: 20 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.9417, allocations: 28 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.131e-05/0.9418, allocations: 23.92 kB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/0.9418, allocations: 23.88 kB / 1.08 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.9447, allocations: 2.402 MB / 1.083 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/0.9453, allocations: 395.4 kB / 1.083 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.9455, allocations: 35.92 kB / 1.083 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.9465, allocations: 143.8 kB / 1.083 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.9467, allocations: 91.61 kB / 1.083 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.9468, allocations: 36 kB / 1.083 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009442/0.9478, allocations: 0.6122 MB / 1.084 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9478, allocations: 0 / 1.084 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002655/0.9504, allocations: 0.7539 MB / 1.085 GB, free: 6.773 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.0002746/0.9507, allocations: 143 kB / 1.085 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0046/0.9553, allocations: 2.886 MB / 1.088 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.9554, allocations: 4.062 kB / 1.088 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.9569, allocations: 0.9235 MB / 1.088 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.9602, allocations: 283.6 kB / 1.089 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/0.97, allocations: 6.227 MB / 1.095 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/0.9724, allocations: 2.124 MB / 1.097 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00221/0.9746, allocations: 0.7578 MB / 1.098 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.9751, allocations: 83.42 kB / 1.098 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of SimCode: time 1.233e-06/0.9751, allocations: 0 / 1.098 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of Templates: time 0.03363/1.009, allocations: 17.01 MB / 1.114 GB, free: 8.27 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