Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001365/0.001366, allocations: 102.9 kB / 16.35 MB, free: 5.879 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.001607/0.001607, allocations: 192.6 kB / 17.29 MB, free: 5.52 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.539/1.539, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.468/2.468, allocations: 442.6 MB / 0.7165 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.75 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3856, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01585/0.4015, allocations: 11.11 MB / 1.038 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.4128, allocations: 5.797 MB / 1.043 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.4145, allocations: 51.69 kB / 1.043 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004804/0.4194, allocations: 1.733 MB / 1.045 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.4235, allocations: 1.143 MB / 1.046 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.4263, allocations: 0.8133 MB / 1.047 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004776/0.4311, allocations: 2.127 MB / 1.049 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.434, allocations: 1.303 MB / 1.05 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.4364, allocations: 0.8484 MB / 1.051 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.4379, allocations: 0.9143 MB / 1.052 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.4382, allocations: 116 kB / 1.052 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.4408, allocations: 1.177 MB / 1.053 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006555/0.4415, allocations: 0.5336 MB / 1.054 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.4426, allocations: 0.7733 MB / 1.054 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003771/0.4463, allocations: 2.426 MB / 1.057 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4464, allocations: 0 / 1.057 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.995e-06/0.4464, allocations: 4 kB / 1.057 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.374e-05/0.4464, allocations: 7.938 kB / 1.057 GB, free: 3.035 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003574/0.45, allocations: 1.868 MB / 1.059 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.4501, allocations: 8.031 kB / 1.059 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.4548, allocations: 0.6621 MB / 1.059 GB, free: 448 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.4571, allocations: 1.008 MB / 1.06 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.4572, allocations: 98.89 kB / 1.06 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.4574, allocations: 128.2 kB / 1.061 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.4612, allocations: 2.21 MB / 1.063 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.299e-05/0.4613, allocations: 15.88 kB / 1.063 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.4614, allocations: 55.97 kB / 1.063 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/0.4617, allocations: 166.3 kB / 1.063 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.4646, allocations: 1.871 MB / 1.065 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5885/1.053, allocations: 12.42 MB / 1.077 GB, free: 46.35 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/1.058, allocations: 1.966 MB / 1.079 GB, free: 46.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000902/1.059, allocations: 0.6062 MB / 1.079 GB, free: 46.21 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/1.059, allocations: 108.2 kB / 1.079 GB, free: 46.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/1.059, allocations: 50.33 kB / 1.08 GB, free: 46.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=103): time 3.236e-06/1.059, allocations: 0 / 1.08 GB, free: 46.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.006043/1.065, allocations: 3.702 MB / 1.083 GB, free: 44.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/1.065, allocations: 63.53 kB / 1.083 GB, free: 44.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.066, allocations: 0.9237 MB / 1.084 GB, free: 43.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/1.066, allocations: 44.8 kB / 1.084 GB, free: 43.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/1.067, allocations: 0.7235 MB / 1.085 GB, free: 43.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/1.067, allocations: 391.6 kB / 1.085 GB, free: 42.99 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/1.068, allocations: 286.5 kB / 1.086 GB, free: 42.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.12e-05/1.068, allocations: 303.7 kB / 1.086 GB, free: 42.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.069, allocations: 0.6117 MB / 1.086 GB, free: 42.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/1.07, allocations: 1.106 MB / 1.087 GB, free: 41.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/1.073, allocations: 1.827 MB / 1.089 GB, free: 40.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.073, allocations: 4.75 kB / 1.089 GB, free: 40.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00496/1.078, allocations: 2.109 MB / 1.091 GB, free: 39.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/1.078, allocations: 10.91 kB / 1.091 GB, free: 39.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/1.078, allocations: 15.62 kB / 1.091 GB, free: 39.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/1.079, allocations: 258.9 kB / 1.092 GB, free: 39.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.08, allocations: 374.4 kB / 1.092 GB, free: 39.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007167/1.087, allocations: 11.59 MB / 1.103 GB, free: 28.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.089, allocations: 123.9 kB / 1.103 GB, free: 28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/1.089, allocations: 72.05 kB / 1.103 GB, free: 27.98 MB / 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.0008741/1.09, allocations: 402.1 kB / 1.104 GB, free: 27.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/1.09, allocations: 127.2 kB / 1.104 GB, free: 27.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/1.093, allocations: 1.684 MB / 1.106 GB, free: 26.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.094, allocations: 12.61 kB / 1.106 GB, free: 26.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.094, allocations: 2.156 kB / 1.106 GB, free: 26.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/1.094, allocations: 6 kB / 1.106 GB, free: 26.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/1.1, allocations: 3.291 MB / 1.109 GB, free: 25.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/1.1, allocations: 9.625 kB / 1.109 GB, free: 25.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/1.101, allocations: 227.4 kB / 1.109 GB, free: 25.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007197/1.101, allocations: 242.5 kB / 1.109 GB, free: 25.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/1.101, allocations: 31.28 kB / 1.109 GB, free: 25.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006995/1.108, allocations: 11.56 MB / 1.121 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.108, allocations: 10.12 kB / 1.121 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/1.111, allocations: 1.795 MB / 1.122 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/1.112, allocations: 308.8 kB / 1.123 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/1.112, allocations: 25.08 kB / 1.123 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/1.113, allocations: 95 kB / 1.123 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.113, allocations: 97.98 kB / 1.123 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-05/1.113, allocations: 35.03 kB / 1.123 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008203/1.114, allocations: 0.6181 MB / 1.124 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.114, allocations: 0 / 1.124 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001646/1.116, allocations: 392.4 kB / 1.124 GB, free: 12.48 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.0002168/1.116, allocations: 144.3 kB / 1.124 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003448/1.119, allocations: 2.505 MB / 1.126 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.119, allocations: 1.125 kB / 1.126 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/1.121, allocations: 1.63 MB / 1.128 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.123, allocations: 359.2 kB / 1.128 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/1.127, allocations: 2.749 MB / 1.131 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/1.128, allocations: 1.326 MB / 1.132 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00105/1.129, allocations: 357.2 kB / 1.133 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/1.13, allocations: 96.3 kB / 1.133 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of SimCode: time 9.72e-07/1.13, allocations: 1.125 kB / 1.133 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.03446/1.164, allocations: 17.08 MB / 1.15 GB, free: 1.887 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches