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.001196/0.001196, allocations: 105 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.001117/0.001117, allocations: 189.4 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.428/1.428, 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 11.0.0-master/package.mo): time 2.49/2.49, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.56 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3381, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01616/0.3544, allocations: 11.11 MB / 1.038 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008532/0.363, allocations: 5.789 MB / 1.043 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3643, allocations: 51.69 kB / 1.043 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004742/0.3691, allocations: 1.734 MB / 1.045 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004766/0.3739, allocations: 1.143 MB / 1.046 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.3767, allocations: 0.8175 MB / 1.047 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004152/0.3809, allocations: 2.115 MB / 1.049 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.3834, allocations: 1.31 MB / 1.05 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.3855, allocations: 0.8484 MB / 1.051 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.3874, allocations: 0.9143 MB / 1.052 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004374/0.3879, allocations: 112 kB / 1.052 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.391, allocations: 1.177 MB / 1.053 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009149/0.392, allocations: 0.5298 MB / 1.054 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.3937, allocations: 0.7849 MB / 1.054 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.3982, allocations: 2.414 MB / 1.057 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3982, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.829e-06/0.3982, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.154e-05/0.3983, allocations: 3.938 kB / 1.057 GB, free: 3.082 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.004157/0.4025, allocations: 1.879 MB / 1.059 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4025, allocations: 8.031 kB / 1.059 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/0.4072, allocations: 0.666 MB / 1.059 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.4092, allocations: 1 MB / 1.06 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.4093, allocations: 98.89 kB / 1.06 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.4095, allocations: 132.2 kB / 1.061 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/0.4131, allocations: 2.203 MB / 1.063 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.4131, allocations: 19.81 kB / 1.063 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.4133, allocations: 59.97 kB / 1.063 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002374/0.4135, allocations: 162.3 kB / 1.063 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.4165, allocations: 1.871 MB / 1.065 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5584/0.975, allocations: 12.42 MB / 1.077 GB, free: 46.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00477/0.9798, allocations: 1.97 MB / 1.079 GB, free: 46.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008904/0.9807, allocations: 0.6062 MB / 1.079 GB, free: 46.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.9809, allocations: 108 kB / 1.079 GB, free: 46.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.9809, allocations: 50.22 kB / 1.08 GB, free: 46.06 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=103): time 2.785e-06/0.9809, allocations: 0 / 1.08 GB, free: 46.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.008553/0.9895, allocations: 3.702 MB / 1.083 GB, free: 44.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.9896, allocations: 67.5 kB / 1.083 GB, free: 44.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.9919, allocations: 0.9256 MB / 1.084 GB, free: 43.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.9921, allocations: 41.02 kB / 1.084 GB, free: 43.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.9927, allocations: 0.7302 MB / 1.085 GB, free: 43.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004945/0.9932, allocations: 383.8 kB / 1.085 GB, free: 42.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006688/0.9939, allocations: 286.5 kB / 1.086 GB, free: 42.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.994, allocations: 306.8 kB / 1.086 GB, free: 42.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.9957, allocations: 0.6126 MB / 1.086 GB, free: 42.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.998, allocations: 1.104 MB / 1.087 GB, free: 41.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/1.002, allocations: 1.83 MB / 1.089 GB, free: 40.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/1.002, allocations: 4.312 kB / 1.089 GB, free: 40.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005971/1.008, allocations: 2.109 MB / 1.091 GB, free: 39.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/1.008, allocations: 11.06 kB / 1.091 GB, free: 39.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/1.008, allocations: 16.77 kB / 1.091 GB, free: 39.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/1.009, allocations: 254.9 kB / 1.092 GB, free: 39.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/1.012, allocations: 373.3 kB / 1.092 GB, free: 39.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.024, allocations: 11.59 MB / 1.103 GB, free: 28.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/1.027, allocations: 124.7 kB / 1.103 GB, free: 27.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004388/1.027, allocations: 74.39 kB / 1.103 GB, free: 27.97 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.001507/1.029, allocations: 401.7 kB / 1.104 GB, free: 27.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006442/1.03, allocations: 133.8 kB / 1.104 GB, free: 27.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/1.035, allocations: 1.681 MB / 1.106 GB, free: 26.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/1.035, allocations: 10.53 kB / 1.106 GB, free: 26.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-05/1.035, allocations: 4 kB / 1.106 GB, free: 26.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/1.035, allocations: 5.25 kB / 1.106 GB, free: 26.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00944/1.045, allocations: 3.287 MB / 1.109 GB, free: 25.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/1.045, allocations: 9.156 kB / 1.109 GB, free: 25.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/1.046, allocations: 227.8 kB / 1.109 GB, free: 25.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/1.048, allocations: 246 kB / 1.109 GB, free: 25.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.048, allocations: 23.78 kB / 1.109 GB, free: 25.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/1.059, allocations: 11.56 MB / 1.121 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/1.059, allocations: 15.08 kB / 1.121 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/1.064, allocations: 1.795 MB / 1.122 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.065, allocations: 308.7 kB / 1.123 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/1.065, allocations: 28.81 kB / 1.123 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.067, allocations: 91 kB / 1.123 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003725/1.067, allocations: 100.8 kB / 1.123 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.067, allocations: 32.2 kB / 1.123 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00159/1.069, allocations: 0.62 MB / 1.124 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.11e-07/1.069, allocations: 1.062 kB / 1.124 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002799/1.072, allocations: 393.3 kB / 1.124 GB, free: 12.46 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.0003422/1.072, allocations: 142.8 kB / 1.124 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005378/1.078, allocations: 2.507 MB / 1.126 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.078, allocations: 0 / 1.126 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/1.08, allocations: 1.63 MB / 1.128 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.082, allocations: 361.7 kB / 1.128 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/1.09, allocations: 2.738 MB / 1.131 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/1.091, allocations: 1.331 MB / 1.132 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001424/1.093, allocations: 360.3 kB / 1.133 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/1.093, allocations: 99.78 kB / 1.133 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of SimCode: time 1.262e-06/1.093, allocations: 1.531 kB / 1.133 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of Templates: time 0.03423/1.128, allocations: 17.08 MB / 1.15 GB, free: 1.867 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 gbode -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