Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001183/0.001183, allocations: 104.4 kB / 16.41 MB, free: 6.398 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.001274/0.001274, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 64.09 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7901, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003756/0.7939, allocations: 2.634 MB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.7963, allocations: 1.567 MB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.7964, allocations: 3.188 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.7971, allocations: 175.5 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.7975, allocations: 162.5 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.798, allocations: 186 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.7983, allocations: 210.8 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.7986, allocations: 123.6 kB / 1.094 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.7987, allocations: 94.75 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.799, allocations: 95.2 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.799, allocations: 11.78 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.7995, allocations: 217.6 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.7996, allocations: 62.41 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.7997, allocations: 79.97 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.8002, allocations: 310.2 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.8002, allocations: 5.031 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8002, allocations: 0 / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8002, allocations: 0 / 1.094 GB, free: 1.922 MB / 0.8575 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.0007377/0.8009, allocations: 471.4 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.801, allocations: 9.188 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.8018, allocations: 89.23 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.8021, allocations: 231.9 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.8021, allocations: 10.53 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.8022, allocations: 13.69 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.8027, allocations: 300.9 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.8028, allocations: 4.719 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.8028, allocations: 6.312 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.8028, allocations: 20.58 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.8033, allocations: 230.3 kB / 1.096 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.8051, allocations: 1.594 MB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.8055, allocations: 318.9 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.8057, allocations: 64.09 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.8057, allocations: 1.781 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.8057, allocations: 40.3 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.8057, allocations: 0 / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006329/0.8064, allocations: 243.4 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.8064, allocations: 83.69 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.8067, allocations: 208.6 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.8068, allocations: 30.58 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.8069, allocations: 158.5 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.8069, allocations: 36.42 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.807, allocations: 49.33 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8071, allocations: 324 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.8073, allocations: 83.75 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.8075, allocations: 166.4 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.8079, allocations: 230.4 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8079, allocations: 1.781 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000534/0.8084, allocations: 270.7 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8085, allocations: 10.12 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8085, allocations: 3.688 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.8085, allocations: 9.062 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.8088, allocations: 57.39 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.8088, allocations: 4.938 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.8091, allocations: 21.22 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.8091, allocations: 14.78 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002266/0.8093, allocations: 167.2 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001933/0.8095, allocations: 152.6 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002896/0.8098, allocations: 218.3 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.8098, allocations: 0.875 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004752/0.8103, allocations: 263.2 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.8103, allocations: 6.312 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.8103, allocations: 3.719 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.8104, allocations: 5.266 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.8106, allocations: 49.72 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.8106, allocations: 8.375 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.8109, allocations: 27.5 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.8109, allocations: 9.734 kB / 1.1 GB, free: 13.27 MB / 0.8731 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.0001023/0.811, allocations: 193.8 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.8111, allocations: 15.23 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.8113, allocations: 144 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.8114, allocations: 6.219 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8114, allocations: 5.359 kB / 1.101 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.8114, allocations: 1.922 kB / 1.101 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/0.8124, allocations: 0.7219 MB / 1.101 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.8124, allocations: 2.781 kB / 1.101 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.8125, allocations: 22.88 kB / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8125, allocations: 3.281 kB / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.8125, allocations: 8.969 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.8125, allocations: 7.469 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8126, allocations: 3.125 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.8129, allocations: 391.4 kB / 1.102 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.813, allocations: 106.2 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.813, allocations: 4.812 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.8132, allocations: 13.77 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.8133, allocations: 15.75 kB / 1.102 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.8133, allocations: 5.781 kB / 1.102 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001985/0.8135, allocations: 167.7 kB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8135, allocations: 0 / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005388/0.814, allocations: 70.38 kB / 1.102 GB, free: 11.85 MB / 0.8731 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.0001551/0.8142, allocations: 101.3 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005948/0.8148, allocations: 284.6 kB / 1.103 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8148, allocations: 0 / 1.103 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.8149, allocations: 62.95 kB / 1.103 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.8154, allocations: 35.89 kB / 1.103 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.8162, allocations: 452 kB / 1.103 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.8167, allocations: 0.7359 MB / 1.104 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.609e-05/0.8167, allocations: 20.73 kB / 1.104 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of SimCode: time 2.825e-06/0.8168, allocations: 0 / 1.104 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.006146/0.8229, allocations: 2.344 MB / 1.106 GB, free: 10.4 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches