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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001711/0.001711, allocations: 103.7 kB / 15.78 MB, free: 5.98 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.001748/0.001748, allocations: 200.9 kB / 16.72 MB, free: 5.836 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.472/1.472, allocations: 225.6 MB / 243.1 MB, free: 3.707 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 489.4 MB / 0.7669 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 1.115 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 172 MB / 1.283 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004622/1.047, allocations: 2.667 MB / 1.285 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002938/1.05, allocations: 1.589 MB / 1.287 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/1.05, allocations: 6.281 kB / 1.287 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007361/1.051, allocations: 178.2 kB / 1.287 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004407/1.051, allocations: 147.7 kB / 1.287 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/1.052, allocations: 190.3 kB / 1.287 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/1.052, allocations: 219.7 kB / 1.288 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/1.052, allocations: 98.28 kB / 1.288 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/1.052, allocations: 82.45 kB / 1.288 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/1.053, allocations: 114.2 kB / 1.288 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/1.053, allocations: 11.94 kB / 1.288 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/1.053, allocations: 221.1 kB / 1.288 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.225e-05/1.053, allocations: 62.56 kB / 1.288 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/1.053, allocations: 83.28 kB / 1.288 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/1.054, allocations: 300.8 kB / 1.288 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.054, allocations: 0 / 1.288 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.054, allocations: 1.531 kB / 1.288 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.054, allocations: 0 / 1.288 GB, free: 1.73 MB / 0.9981 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.0008076/1.055, allocations: 484.7 kB / 1.289 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/1.055, allocations: 14.41 kB / 1.289 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007891/1.055, allocations: 88.16 kB / 1.289 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/1.056, allocations: 235.8 kB / 1.289 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/1.056, allocations: 7.5 kB / 1.289 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/1.056, allocations: 13.5 kB / 1.289 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/1.056, allocations: 300.5 kB / 1.29 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.056, allocations: 4.547 kB / 1.29 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/1.056, allocations: 6.594 kB / 1.29 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/1.056, allocations: 16.97 kB / 1.29 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/1.057, allocations: 227.3 kB / 1.29 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.059, allocations: 1.6 MB / 1.291 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/1.06, allocations: 320.5 kB / 1.292 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/1.06, allocations: 61.33 kB / 1.292 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/1.06, allocations: 1.438 kB / 1.292 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/1.06, allocations: 32.55 kB / 1.292 GB, free: 15.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/1.06, allocations: 0 / 1.292 GB, free: 15.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006726/1.06, allocations: 255.2 kB / 1.292 GB, free: 14.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/1.06, allocations: 84.28 kB / 1.292 GB, free: 14.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/1.061, allocations: 201.1 kB / 1.292 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/1.061, allocations: 30.52 kB / 1.292 GB, free: 14.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/1.061, allocations: 158.1 kB / 1.292 GB, free: 14.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/1.061, allocations: 36.91 kB / 1.292 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/1.061, allocations: 58.94 kB / 1.293 GB, free: 14.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.061, allocations: 321.9 kB / 1.293 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/1.061, allocations: 80.72 kB / 1.293 GB, free: 14.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/1.062, allocations: 157.6 kB / 1.293 GB, free: 13.94 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/1.062, allocations: 243.9 kB / 1.293 GB, free: 13.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.062, allocations: 128 / 1.293 GB, free: 13.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005395/1.062, allocations: 276.1 kB / 1.294 GB, free: 13.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.063, allocations: 5.875 kB / 1.294 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.063, allocations: 8.469 kB / 1.294 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.063, allocations: 8.094 kB / 1.294 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/1.063, allocations: 58.12 kB / 1.294 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.063, allocations: 4.953 kB / 1.294 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/1.063, allocations: 25.59 kB / 1.294 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/1.063, allocations: 9.766 kB / 1.294 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002347/1.063, allocations: 167.5 kB / 1.294 GB, free: 13.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002163/1.064, allocations: 159.3 kB / 1.294 GB, free: 13.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003096/1.064, allocations: 218.2 kB / 1.294 GB, free: 13.19 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/1.064, allocations: 0.9375 kB / 1.294 GB, free: 13.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004925/1.064, allocations: 251 kB / 1.294 GB, free: 13.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/1.064, allocations: 8.984 kB / 1.294 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/1.064, allocations: 3 kB / 1.294 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/1.064, allocations: 7.25 kB / 1.294 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/1.065, allocations: 55.66 kB / 1.295 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.065, allocations: 16.84 kB / 1.295 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/1.065, allocations: 18.7 kB / 1.295 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/1.065, allocations: 9.938 kB / 1.295 GB, free: 13.05 MB / 1.014 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.0001457/1.065, allocations: 190.2 kB / 1.295 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/1.065, allocations: 19.31 kB / 1.295 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/1.065, allocations: 145 kB / 1.295 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/1.065, allocations: 5.062 kB / 1.295 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.065, allocations: 5.906 kB / 1.295 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.065, allocations: 3.938 kB / 1.295 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/1.066, allocations: 0.7196 MB / 1.296 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.066, allocations: 2.625 kB / 1.296 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/1.067, allocations: 30.47 kB / 1.296 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.067, allocations: 3.438 kB / 1.296 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.067, allocations: 3.875 kB / 1.296 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.067, allocations: 4.297 kB / 1.296 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.067, allocations: 7.875 kB / 1.296 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/1.067, allocations: 383.8 kB / 1.296 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/1.067, allocations: 108.6 kB / 1.296 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/1.067, allocations: 5.109 kB / 1.296 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/1.067, allocations: 10.44 kB / 1.296 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/1.067, allocations: 16.23 kB / 1.296 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/1.067, allocations: 17.94 kB / 1.296 GB, free: 11.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001921/1.068, allocations: 155.8 kB / 1.296 GB, free: 11.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.068, allocations: 0 / 1.296 GB, free: 11.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005513/1.068, allocations: 69.78 kB / 1.296 GB, free: 11.63 MB / 1.014 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.0001732/1.068, allocations: 114.2 kB / 1.297 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005698/1.069, allocations: 265.1 kB / 1.297 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.069, allocations: 1.312 kB / 1.297 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.747e-05/1.069, allocations: 62.03 kB / 1.297 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/1.069, allocations: 39.5 kB / 1.297 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/1.07, allocations: 428.6 kB / 1.297 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/1.071, allocations: 0.733 MB / 1.298 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002341/1.071, allocations: 76.59 kB / 1.298 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/1.071, allocations: 18.67 kB / 1.298 GB, free: 10.39 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.071, allocations: 0 / 1.298 GB, free: 10.39 MB / 1.014 GB Notification: Performance of Templates: time 0.005637/1.077, allocations: 1.929 MB / 1.3 GB, free: 10.26 MB / 1.014 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