Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001273/0.001273, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.001443/0.001443, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 64.19 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3089, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01361/0.3226, allocations: 11.09 MB / 0.962 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009549/0.3322, allocations: 5.8 MB / 0.9676 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.3334, allocations: 51.69 kB / 0.9677 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004493/0.3379, allocations: 1.715 MB / 0.9693 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.3427, allocations: 1.143 MB / 0.9705 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.3458, allocations: 0.8182 MB / 0.9713 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004099/0.35, allocations: 2.127 MB / 0.9733 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.3521, allocations: 1.307 MB / 0.9746 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.3541, allocations: 0.8406 MB / 0.9754 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.3561, allocations: 0.9104 MB / 0.9763 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004506/0.3565, allocations: 116 kB / 0.9764 GB, free: 14 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.3597, allocations: 1.185 MB / 0.9776 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008419/0.3605, allocations: 0.5259 MB / 0.9781 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.362, allocations: 0.7849 MB / 0.9789 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.3663, allocations: 2.426 MB / 0.9812 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3664, allocations: 0 / 0.9812 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3664, allocations: 0 / 0.9812 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.927e-05/0.3665, allocations: 0 / 0.9812 GB, free: 9.066 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003773/0.3703, allocations: 1.871 MB / 0.9831 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3703, allocations: 12.03 kB / 0.9831 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/0.3747, allocations: 0.666 MB / 0.9837 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.3766, allocations: 1.004 MB / 0.9847 GB, free: 5.406 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.3767, allocations: 102.9 kB / 0.9848 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.3769, allocations: 124.3 kB / 0.9849 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.3799, allocations: 2.206 MB / 0.9871 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.3799, allocations: 15.78 kB / 0.9871 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.3801, allocations: 63.97 kB / 0.9872 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001914/0.3803, allocations: 158.3 kB / 0.9873 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.3829, allocations: 1.871 MB / 0.9891 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.3949, allocations: 12.44 MB / 1.001 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/0.399, allocations: 1.966 MB / 1.003 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.3998, allocations: 0.6011 MB / 1.004 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.4001, allocations: 106.1 kB / 1.004 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.4001, allocations: 47.56 kB / 1.004 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=103): time 3.687e-06/0.4001, allocations: 0 / 1.004 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.00612/0.4062, allocations: 3.706 MB / 1.008 GB, free: 12.63 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4063, allocations: 68.41 kB / 1.008 GB, free: 12.55 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.4075, allocations: 0.9165 MB / 1.009 GB, free: 11.61 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.4076, allocations: 49.69 kB / 1.009 GB, free: 11.56 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.408, allocations: 0.7236 MB / 1.009 GB, free: 10.82 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.4084, allocations: 390.4 kB / 1.01 GB, free: 10.44 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.4088, allocations: 283.2 kB / 1.01 GB, free: 10.15 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4089, allocations: 305.1 kB / 1.01 GB, free: 9.852 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009436/0.4099, allocations: 0.609 MB / 1.011 GB, free: 9.242 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.4111, allocations: 1.113 MB / 1.012 GB, free: 7.914 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002287/0.4134, allocations: 1.824 MB / 1.014 GB, free: 5.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.4134, allocations: 11.94 kB / 1.014 GB, free: 5.863 MB / 0.795 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003495/0.4169, allocations: 2.1 MB / 1.016 GB, free: 3.727 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.417, allocations: 16.22 kB / 1.016 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.417, allocations: 16 kB / 1.016 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/0.4178, allocations: 258.6 kB / 1.016 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4191, allocations: 375.4 kB / 1.016 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009131/0.4282, allocations: 11.59 MB / 1.028 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.4295, allocations: 127.8 kB / 1.028 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.4297, allocations: 75.92 kB / 1.028 GB, free: 6.141 MB / 0.8106 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.0006606/0.4304, allocations: 408 kB / 1.028 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.4306, allocations: 134.5 kB / 1.028 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/0.4333, allocations: 1.673 MB / 1.03 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.4333, allocations: 12 kB / 1.03 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4334, allocations: 0 / 1.03 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4334, allocations: 7.984 kB / 1.03 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/0.4386, allocations: 3.295 MB / 1.033 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.4386, allocations: 4 kB / 1.033 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008122/0.4394, allocations: 227.6 kB / 1.033 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/0.4401, allocations: 235.4 kB / 1.034 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/0.4402, allocations: 35.92 kB / 1.034 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008123/0.4484, allocations: 11.55 MB / 1.045 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.4484, allocations: 11.94 kB / 1.045 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.4511, allocations: 1.799 MB / 1.047 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006758/0.4518, allocations: 311.5 kB / 1.047 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/0.4521, allocations: 28 kB / 1.047 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/0.453, allocations: 91.88 kB / 1.047 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.4532, allocations: 104.6 kB / 1.047 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.4533, allocations: 36 kB / 1.047 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009837/0.4543, allocations: 0.6216 MB / 1.048 GB, free: 132 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4543, allocations: 0 / 1.048 GB, free: 132 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001581/0.4559, allocations: 392 kB / 1.048 GB, free: 15.74 MB / 0.8419 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.0002686/0.4562, allocations: 143 kB / 1.048 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003473/0.4597, allocations: 2.501 MB / 1.051 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4597, allocations: 7.938 kB / 1.051 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.4618, allocations: 1.625 MB / 1.052 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.4635, allocations: 358.3 kB / 1.053 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.4675, allocations: 2.743 MB / 1.056 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009668/0.4685, allocations: 1.331 MB / 1.057 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008996/0.4694, allocations: 355.3 kB / 1.057 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.4698, allocations: 99.41 kB / 1.057 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.4698, allocations: 0 / 1.057 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.03123/0.501, allocations: 17.07 MB / 1.074 GB, free: 5.344 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches