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.001168/0.001168, allocations: 106.5 kB / 16.27 MB, free: 6.008 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.001233/0.001233, allocations: 190.4 kB / 17.2 MB, free: 5.621 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 62.19 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3651, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005122/0.3703, allocations: 2.635 MB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.3732, allocations: 1.581 MB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.3734, allocations: 4 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008471/0.3743, allocations: 175.3 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.3748, allocations: 159.3 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.3754, allocations: 182.5 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.3758, allocations: 211.4 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.3761, allocations: 121 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3763, allocations: 95.61 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.3766, allocations: 103.7 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.3767, allocations: 12 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.3771, allocations: 211.6 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3772, allocations: 63.83 kB / 1.07 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3773, allocations: 79.59 kB / 1.07 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.3779, allocations: 303.4 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3779, allocations: 4 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3779, allocations: 0 / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.3779, allocations: 0 / 1.07 GB, free: 9.078 MB / 0.8419 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.0008756/0.3788, allocations: 479.1 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.3789, allocations: 12.61 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008657/0.3797, allocations: 84.64 kB / 1.071 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3801, allocations: 224.1 kB / 1.071 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3801, allocations: 8.656 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.3801, allocations: 16.38 kB / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.3807, allocations: 299.5 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3807, allocations: 11.78 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.3807, allocations: 8 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.3808, allocations: 16.22 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.3812, allocations: 228.4 kB / 1.071 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.3832, allocations: 1.591 MB / 1.073 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.3837, allocations: 323.3 kB / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3838, allocations: 61.69 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3838, allocations: 7.875 kB / 1.073 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3838, allocations: 34.56 kB / 1.073 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3838, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0006006/0.3844, allocations: 240.7 kB / 1.074 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.3846, allocations: 85.09 kB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.3849, allocations: 215.3 kB / 1.074 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.3849, allocations: 25.7 kB / 1.074 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.385, allocations: 155.7 kB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.385, allocations: 31.55 kB / 1.074 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.3851, allocations: 53.61 kB / 1.074 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3852, allocations: 323 kB / 1.074 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3854, allocations: 80.8 kB / 1.074 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.3857, allocations: 169.2 kB / 1.075 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.386, allocations: 234.9 kB / 1.075 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.386, allocations: 8 kB / 1.075 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005132/0.3865, allocations: 265.1 kB / 1.075 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3866, allocations: 8 kB / 1.075 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3866, allocations: 4.5 kB / 1.075 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3866, allocations: 11.94 kB / 1.075 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.3869, allocations: 55.91 kB / 1.075 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3869, allocations: 7.984 kB / 1.075 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.3872, allocations: 23.92 kB / 1.075 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.3872, allocations: 8 kB / 1.075 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002162/0.3874, allocations: 168.1 kB / 1.075 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000264/0.3877, allocations: 160.5 kB / 1.076 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002899/0.388, allocations: 223.8 kB / 1.076 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.388, allocations: 0 / 1.076 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004572/0.3885, allocations: 261.2 kB / 1.076 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.3885, allocations: 4 kB / 1.076 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3885, allocations: 4 kB / 1.076 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.3885, allocations: 4 kB / 1.076 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3887, allocations: 55.91 kB / 1.076 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3887, allocations: 8.344 kB / 1.076 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.389, allocations: 19.98 kB / 1.076 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.389, allocations: 11.98 kB / 1.076 GB, free: 2.277 MB / 0.8419 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.0001176/0.3891, allocations: 188.2 kB / 1.076 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.3892, allocations: 19.75 kB / 1.076 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.3894, allocations: 151.4 kB / 1.076 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3894, allocations: 7.938 kB / 1.076 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3894, allocations: 7.984 kB / 1.076 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3894, allocations: 0 / 1.076 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.3904, allocations: 0.7159 MB / 1.077 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3905, allocations: 7.938 kB / 1.077 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3906, allocations: 23.98 kB / 1.077 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.3906, allocations: 7.938 kB / 1.077 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3906, allocations: 4 kB / 1.077 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3906, allocations: 4 kB / 1.077 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3906, allocations: 80 / 1.077 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.391, allocations: 382.4 kB / 1.078 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.3911, allocations: 104.9 kB / 1.078 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.3912, allocations: 8 kB / 1.078 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.3914, allocations: 11.98 kB / 1.078 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.3915, allocations: 19.86 kB / 1.078 GB, free: 484 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.3915, allocations: 11.94 kB / 1.078 GB, free: 472 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001781/0.3917, allocations: 153.1 kB / 1.078 GB, free: 320 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3917, allocations: 4 kB / 1.078 GB, free: 316 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005195/0.3922, allocations: 71.98 kB / 1.078 GB, free: 244 kB / 0.8419 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.0001464/0.3924, allocations: 107.7 kB / 1.078 GB, free: 128 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4773/0.8697, allocations: 279.4 kB / 1.078 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.8697, allocations: 1.219 kB / 1.078 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.8699, allocations: 63.05 kB / 1.078 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.8705, allocations: 36.61 kB / 1.078 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.8714, allocations: 443.3 kB / 1.079 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.8716, allocations: 0.7404 MB / 1.08 GB, free: 21.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.8716, allocations: 19.98 kB / 1.08 GB, free: 21.43 MB / 0.8419 GB Notification: Performance of SimCode: time 7.82e-07/0.8716, allocations: 0 / 1.08 GB, free: 21.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.004987/0.8766, allocations: 2.332 MB / 1.082 GB, free: 21.34 MB / 0.8419 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/jenkins1/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