Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.00122, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01015/0.01015, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.448/1.448, allocations: 223.2 MB / 240.3 MB, free: 5.34 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.622/2.622, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 19.98 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.7129, allocations: 153.8 MB / 1.023 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01257/0.7255, allocations: 10.54 MB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009669/0.7352, allocations: 5.782 MB / 1.039 GB, free: 15.62 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.7364, allocations: 47.62 kB / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007605/0.7372, allocations: 238 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.7399, allocations: 1.07 MB / 1.04 GB, free: 14.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.742, allocations: 0.7435 MB / 1.041 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003594/0.7456, allocations: 2.848 MB / 1.044 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004336/0.75, allocations: 2.348 MB / 1.046 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.7514, allocations: 0.6999 MB / 1.047 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.7527, allocations: 0.8519 MB / 1.048 GB, free: 6.719 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.7529, allocations: 60 kB / 1.048 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.7556, allocations: 1.434 MB / 1.049 GB, free: 5.223 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000542/0.7562, allocations: 474.5 kB / 1.05 GB, free: 4.758 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009291/0.7571, allocations: 0.7319 MB / 1.05 GB, free: 4.016 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.7608, allocations: 2.412 MB / 1.053 GB, free: 1.598 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7608, allocations: 0 / 1.053 GB, free: 1.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7609, allocations: 0 / 1.053 GB, free: 1.598 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.53e-05/0.7609, allocations: 0 / 1.053 GB, free: 1.598 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002587/0.7635, allocations: 1.604 MB / 1.054 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.7635, allocations: 12.03 kB / 1.054 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00444/0.768, allocations: 0.6738 MB / 1.055 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.7694, allocations: 0.9106 MB / 1.056 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.7695, allocations: 94.91 kB / 1.056 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.7697, allocations: 128.2 kB / 1.056 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.773, allocations: 2.218 MB / 1.058 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.773, allocations: 7.938 kB / 1.058 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.7732, allocations: 59.98 kB / 1.058 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.7734, allocations: 158.3 kB / 1.058 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.7764, allocations: 1.867 MB / 1.06 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.7879, allocations: 12.48 MB / 1.072 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004236/0.7922, allocations: 1.964 MB / 1.074 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008348/0.7931, allocations: 0.6089 MB / 1.075 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.7932, allocations: 106.1 kB / 1.075 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.7933, allocations: 43.56 kB / 1.075 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 2.655e-06/0.7933, allocations: 0 / 1.075 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.005912/0.7992, allocations: 3.718 MB / 1.079 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.7993, allocations: 64.41 kB / 1.079 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.8003, allocations: 0.9165 MB / 1.08 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.8004, allocations: 41.7 kB / 1.08 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.8009, allocations: 0.7315 MB / 1.08 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.8012, allocations: 390.4 kB / 1.081 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.8013, allocations: 125.6 kB / 1.081 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.8014, allocations: 301.1 kB / 1.081 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.8024, allocations: 0.6129 MB / 1.082 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.8036, allocations: 1.113 MB / 1.083 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.8058, allocations: 1.82 MB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.8058, allocations: 11.98 kB / 1.085 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003249/0.8091, allocations: 2.1 MB / 1.087 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.8091, allocations: 13.88 kB / 1.087 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.8092, allocations: 16 kB / 1.087 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008051/0.81, allocations: 259 kB / 1.087 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.8112, allocations: 371.4 kB / 1.087 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007998/0.8192, allocations: 10.77 MB / 1.098 GB, free: 224 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.8206, allocations: 127.9 kB / 1.098 GB, free: 96 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.8207, allocations: 75.98 kB / 1.098 GB, free: 20 kB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007084/0.8214, allocations: 408.5 kB / 1.098 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.8216, allocations: 126.5 kB / 1.098 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/0.8246, allocations: 1.681 MB / 1.1 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.8246, allocations: 15.94 kB / 1.1 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8246, allocations: 4 kB / 1.1 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.8247, allocations: 7.969 kB / 1.1 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/0.8297, allocations: 3.299 MB / 1.103 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.8297, allocations: 4.688 kB / 1.103 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.8306, allocations: 223.6 kB / 1.104 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007179/0.8313, allocations: 250.5 kB / 1.104 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.8314, allocations: 24 kB / 1.104 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00831/0.8397, allocations: 10.74 MB / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.8397, allocations: 11.94 kB / 1.114 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.8425, allocations: 1.792 MB / 1.116 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/0.8431, allocations: 327.3 kB / 1.116 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.8432, allocations: 31.98 kB / 1.116 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.8439, allocations: 87.81 kB / 1.117 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.8442, allocations: 96.77 kB / 1.117 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.8442, allocations: 32 kB / 1.117 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007837/0.845, allocations: 0.6255 MB / 1.117 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.845, allocations: 3.938 kB / 1.117 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001524/0.8465, allocations: 388 kB / 1.118 GB, free: 10.47 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002563/0.8468, allocations: 150.9 kB / 1.118 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003633/0.8505, allocations: 2.485 MB / 1.12 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.8505, allocations: 0 / 1.12 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.8527, allocations: 1.634 MB / 1.122 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.8552, allocations: 322.4 kB / 1.122 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.8601, allocations: 3.397 MB / 1.125 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000947/0.861, allocations: 1.327 MB / 1.127 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001183/0.8622, allocations: 363.3 kB / 1.127 GB, free: 476 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.8626, allocations: 95.42 kB / 1.127 GB, free: 380 kB / 0.8731 GB Notification: Performance of SimCode: time 9.11e-07/0.8626, allocations: 0 / 1.127 GB, free: 380 kB / 0.8731 GB Notification: Performance of Templates: time 0.03118/0.8938, allocations: 16.21 MB / 1.143 GB, free: 308 kB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches