Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 181.8 kB / 16.92 MB, free: 6.918 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: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 8 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7366, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002575/0.7392, allocations: 2.132 MB / 0.9578 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.7414, allocations: 1.56 MB / 0.9593 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.7415, allocations: 9.594 kB / 0.9593 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.7417, allocations: 23.69 kB / 0.9593 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.7421, allocations: 135.4 kB / 0.9595 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.7425, allocations: 167.3 kB / 0.9596 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.7428, allocations: 323.6 kB / 0.9599 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.7433, allocations: 238.8 kB / 0.9602 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.7435, allocations: 70.98 kB / 0.9602 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.7437, allocations: 100.7 kB / 0.9603 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.7438, allocations: 5.531 kB / 0.9603 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.7442, allocations: 253.2 kB / 0.9606 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.7443, allocations: 58.66 kB / 0.9606 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.7444, allocations: 98.73 kB / 0.9607 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.7447, allocations: 226 kB / 0.9609 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7447, allocations: 0 / 0.9609 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7447, allocations: 0 / 0.9609 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.7447, allocations: 0 / 0.9609 GB, free: 3.781 MB / 0.7169 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.00062/0.7453, allocations: 448.4 kB / 0.9614 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7454, allocations: 9.625 kB / 0.9614 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.7462, allocations: 94 kB / 0.9615 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.7464, allocations: 223.4 kB / 0.9617 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.7464, allocations: 14.14 kB / 0.9617 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.7465, allocations: 12.56 kB / 0.9617 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.7469, allocations: 294.7 kB / 0.962 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.747, allocations: 5.219 kB / 0.962 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.747, allocations: 9.391 kB / 0.962 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.747, allocations: 17.06 kB / 0.962 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.7475, allocations: 228.6 kB / 0.9622 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.749, allocations: 1.598 MB / 0.9638 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.7493, allocations: 325.1 kB / 0.9641 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.7494, allocations: 62.25 kB / 0.9642 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.7495, allocations: 2.531 kB / 0.9642 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.7495, allocations: 35.66 kB / 0.9642 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.7495, allocations: 0 / 0.9642 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005481/0.75, allocations: 251.1 kB / 0.9644 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.7501, allocations: 78.23 kB / 0.9645 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.7503, allocations: 201.1 kB / 0.9647 GB, free: 396 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.7504, allocations: 34.66 kB / 0.9647 GB, free: 356 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.7504, allocations: 161.6 kB / 0.9649 GB, free: 200 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.7505, allocations: 33.14 kB / 0.9649 GB, free: 172 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.7505, allocations: 27.58 kB / 0.965 GB, free: 144 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7506, allocations: 322.8 kB / 0.9653 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.7508, allocations: 74.52 kB / 0.9653 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.7511, allocations: 164.1 kB / 0.9655 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.7514, allocations: 237.1 kB / 0.9657 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7514, allocations: 1.094 kB / 0.9657 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005264/0.752, allocations: 276.7 kB / 0.966 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.7521, allocations: 171.9 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.7521, allocations: 3.312 kB / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.7521, allocations: 4.375 kB / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.7524, allocations: 59.86 kB / 0.9662 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.7524, allocations: 7.5 kB / 0.9662 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.7527, allocations: 19.19 kB / 0.9662 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.7527, allocations: 13.19 kB / 0.9663 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.7527, allocations: 3.562 kB / 0.9663 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004276/0.7532, allocations: 211 kB / 0.9665 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7532, allocations: 6.797 kB / 0.9665 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/0.7532, allocations: 5.031 kB / 0.9665 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.7534, allocations: 50.84 kB / 0.9665 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.7534, allocations: 2.656 kB / 0.9665 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.7536, allocations: 30.58 kB / 0.9665 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.7536, allocations: 5.969 kB / 0.9666 GB, free: 14.91 MB / 0.7325 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.0001503/0.7538, allocations: 227.5 kB / 0.9668 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.7539, allocations: 14.88 kB / 0.9668 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.7541, allocations: 147 kB / 0.9669 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7541, allocations: 7.219 kB / 0.9669 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.7541, allocations: 3.984 kB / 0.9669 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7541, allocations: 3.984 kB / 0.9669 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.7552, allocations: 0.727 MB / 0.9676 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7552, allocations: 2.875 kB / 0.9677 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.7553, allocations: 30.02 kB / 0.9677 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.7553, allocations: 3.062 kB / 0.9677 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.7553, allocations: 4.125 kB / 0.9677 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.7553, allocations: 7.188 kB / 0.9677 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.7553, allocations: 3.125 kB / 0.9677 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.7557, allocations: 385.6 kB / 0.9681 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.7558, allocations: 104.9 kB / 0.9682 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.7558, allocations: 11.86 kB / 0.9682 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.756, allocations: 10.78 kB / 0.9682 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.7561, allocations: 17.77 kB / 0.9682 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.7561, allocations: 4.562 kB / 0.9682 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001911/0.7563, allocations: 163.6 kB / 0.9684 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7563, allocations: 3.938 kB / 0.9684 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000535/0.7568, allocations: 69.78 kB / 0.9684 GB, free: 13.3 MB / 0.7325 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.0001473/0.757, allocations: 107.6 kB / 0.9685 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005637/0.7576, allocations: 276.2 kB / 0.9688 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7576, allocations: 0 / 0.9688 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.7577, allocations: 60.78 kB / 0.9689 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.7582, allocations: 32.19 kB / 0.9689 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/0.759, allocations: 0.5193 MB / 0.9694 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.7594, allocations: 0.7381 MB / 0.9701 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.7595, allocations: 18.06 kB / 0.9701 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.7595, allocations: 0 / 0.9701 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.004687/0.7642, allocations: 2.301 MB / 0.9724 GB, free: 10.68 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches