Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 97.64 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.006524/0.006525, allocations: 169.3 kB / 16.26 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.919/2.919, allocations: 462.7 MB / 0.7364 GB, free: 356 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004233, allocations: 11.94 kB / 0.9028 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4243, allocations: 159.6 MB / 1.059 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003711/0.4281, allocations: 2.332 MB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.431, allocations: 1.562 MB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.4312, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.4314, allocations: 27.78 kB / 1.063 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.4321, allocations: 135.5 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.4326, allocations: 167.7 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.433, allocations: 315.1 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005289/0.4335, allocations: 245.9 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.4337, allocations: 67.77 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.434, allocations: 103.6 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.434, allocations: 8 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.4344, allocations: 251.5 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.4345, allocations: 47.89 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.4346, allocations: 105.3 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.435, allocations: 299.3 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4351, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4351, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.4351, allocations: 0 / 1.064 GB, free: 15.89 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000706/0.4358, allocations: 463.1 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4358, allocations: 8.031 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007866/0.4366, allocations: 84.64 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.4369, allocations: 224 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4369, allocations: 8.656 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.437, allocations: 20.36 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.4375, allocations: 291.5 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.4375, allocations: 7.938 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.4376, allocations: 4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.4376, allocations: 20.22 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.438, allocations: 224.4 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.4398, allocations: 1.607 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.4402, allocations: 315.3 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.4403, allocations: 65.69 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4404, allocations: 4 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4404, allocations: 34.5 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.4404, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0006072/0.441, allocations: 256.6 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4411, allocations: 77.11 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.4413, allocations: 211.6 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4414, allocations: 29.7 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.4415, allocations: 151.7 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.4415, allocations: 35.45 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.4415, allocations: 25.72 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4417, allocations: 322.8 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.4418, allocations: 75.94 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.442, allocations: 160.6 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.4424, allocations: 246.8 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4424, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004752/0.4429, allocations: 273.2 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.443, allocations: 169.5 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.443, allocations: 8 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.443, allocations: 4 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.4433, allocations: 59.89 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4433, allocations: 8.406 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.4435, allocations: 31.81 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.4436, allocations: 8 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-06/0.4436, allocations: 4 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003971/0.444, allocations: 211.6 kB / 1.07 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.444, allocations: 0 / 1.07 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.444, allocations: 4 kB / 1.07 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.4442, allocations: 51.91 kB / 1.07 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4442, allocations: 12.3 kB / 1.07 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.4444, allocations: 23.92 kB / 1.07 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4444, allocations: 12 kB / 1.07 GB, free: 9.613 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001564/0.4446, allocations: 221 kB / 1.07 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.4447, allocations: 15.8 kB / 1.07 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.4449, allocations: 146.9 kB / 1.07 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4449, allocations: 4 kB / 1.07 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4449, allocations: 12.06 kB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.445, allocations: 0 / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008855/0.4458, allocations: 0.7236 MB / 1.071 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4459, allocations: 4 kB / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.446, allocations: 19.98 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.446, allocations: 4 kB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.446, allocations: 4 kB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.446, allocations: 7.984 kB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.446, allocations: 7.938 kB / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.4463, allocations: 382.4 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.4464, allocations: 108.9 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.4465, allocations: 4 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4467, allocations: 15.98 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.4467, allocations: 7.938 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4467, allocations: 8 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001724/0.4469, allocations: 161.2 kB / 1.072 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4469, allocations: 0 / 1.072 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005258/0.4474, allocations: 68 kB / 1.072 GB, free: 7.551 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.000159/0.4476, allocations: 115.1 kB / 1.072 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.4481, allocations: 272 kB / 1.072 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4481, allocations: 0 / 1.072 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.4482, allocations: 61.09 kB / 1.072 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.4487, allocations: 36.47 kB / 1.072 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.4495, allocations: 499.6 kB / 1.073 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4499, allocations: 0.7324 MB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.4501, allocations: 81.45 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.4502, allocations: 23.42 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of SimCode: time 7.91e-07/0.4502, allocations: 0 / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of Templates: time 0.005159/0.4554, allocations: 1.795 MB / 1.075 GB, free: 3.914 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches