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.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.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.001244/0.001244, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.00181/0.00181, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.743/1.743, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.929/2.929, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 8.844 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4181, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003142/0.4213, allocations: 2.252 MB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.4236, allocations: 1.321 MB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.4237, allocations: 0 / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.4239, allocations: 27.78 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.4243, allocations: 103.5 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.4248, allocations: 143.7 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.4251, allocations: 251.2 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.4256, allocations: 230 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.4258, allocations: 63.77 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.426, allocations: 103.6 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.4261, allocations: 8 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.4263, allocations: 107.9 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.4264, allocations: 55.84 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.4264, allocations: 57.58 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.4267, allocations: 195.8 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4267, allocations: 4 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4267, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4267, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 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.0006923/0.4274, allocations: 451 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4275, allocations: 8.031 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000532/0.428, allocations: 67.73 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.4283, allocations: 226.7 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4283, allocations: 12.28 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.4284, allocations: 15.94 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.4288, allocations: 283.6 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4288, allocations: 7.938 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.4288, allocations: 4 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.4289, allocations: 16.22 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.4292, allocations: 208.5 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.4308, allocations: 1.587 MB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.4312, allocations: 315.3 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.4313, allocations: 65.67 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.4314, allocations: 4 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4314, allocations: 34.5 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4314, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0006003/0.432, allocations: 240.9 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.4321, allocations: 89.06 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4323, allocations: 195.5 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4324, allocations: 29.7 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4325, allocations: 155.5 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.4325, allocations: 31.56 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.4325, allocations: 4 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4327, allocations: 330.8 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.4328, allocations: 59.97 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.4329, allocations: 156.6 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.4331, allocations: 91.97 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4331, allocations: 4 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003794/0.4335, allocations: 257.1 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.4336, allocations: 175.6 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4337, allocations: 11.94 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4337, allocations: 8 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.4339, allocations: 47.91 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.4339, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.4341, allocations: 19.92 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.4341, allocations: 12 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.4341, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002821/0.4344, allocations: 195.8 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4344, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/0.4344, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.4346, allocations: 51.91 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4346, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.4347, allocations: 12.12 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.4347, allocations: 19.92 kB / 1.068 GB, free: 10.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.4349, allocations: 213.3 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.435, allocations: 23.75 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.4352, allocations: 146.9 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4352, allocations: 3.984 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4352, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4352, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008927/0.4361, allocations: 0.7195 MB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4362, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.4363, allocations: 27.92 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4363, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4363, allocations: 8.297 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4363, allocations: 11.98 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4363, allocations: 7.938 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.4366, allocations: 370.3 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.4367, allocations: 104.9 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.4367, allocations: 7.984 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.4369, allocations: 11.95 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.4369, allocations: 11.98 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4369, allocations: 8 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001193/0.4371, allocations: 149.1 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4371, allocations: 0 / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004896/0.4376, allocations: 68 kB / 1.07 GB, free: 8.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001652/0.4377, allocations: 119.1 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.4382, allocations: 259.8 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4382, allocations: 1.5 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.4383, allocations: 60.28 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.4388, allocations: 43.58 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.4397, allocations: 0.4936 MB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.44, allocations: 0.7402 MB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.4402, allocations: 73.45 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.4403, allocations: 19.44 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.4403, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of Templates: time 0.004133/0.4444, allocations: 1.631 MB / 1.073 GB, free: 4.941 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