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.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.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.008178/0.008178, allocations: 105.5 kB / 15.74 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.001333/0.001333, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.504/2.504, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 62.67 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3557, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003926/0.3597, allocations: 2.438 MB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.3624, allocations: 1.575 MB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.3625, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.3634, allocations: 171.3 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.3638, allocations: 155.3 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.3643, allocations: 187.5 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.3646, allocations: 219.3 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3649, allocations: 125 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3651, allocations: 83.69 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.3654, allocations: 107.6 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.3654, allocations: 12 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.3658, allocations: 211.6 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3659, allocations: 59.88 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3661, allocations: 79.53 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.3665, allocations: 315 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3665, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3665, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3665, allocations: 0 / 1.093 GB, free: 11.77 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.0007386/0.3672, allocations: 479.1 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3673, allocations: 12.03 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.3681, allocations: 84.64 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3684, allocations: 224.1 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3684, allocations: 8.656 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.3685, allocations: 20.36 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.3689, allocations: 295.5 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.369, allocations: 0 / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.369, allocations: 8 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.3691, allocations: 20.22 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.3695, allocations: 224.4 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.3713, allocations: 1.599 MB / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.3717, allocations: 319.3 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.345e-05/0.3718, allocations: 57.81 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3718, allocations: 11.98 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.3719, allocations: 34.56 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3719, allocations: 0 / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005799/0.3725, allocations: 244.7 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3725, allocations: 81.3 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.3728, allocations: 207.4 kB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3728, allocations: 29.7 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.3729, allocations: 151.6 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3729, allocations: 35.55 kB / 1.097 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.373, allocations: 61.47 kB / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3731, allocations: 326.8 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.3733, allocations: 80.81 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3735, allocations: 151.1 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3739, allocations: 242.9 kB / 1.098 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3739, allocations: 0 / 1.098 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005172/0.3744, allocations: 277.1 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3744, allocations: 8 kB / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3744, allocations: 0 / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3745, allocations: 7.938 kB / 1.099 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.3747, allocations: 60.27 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3748, allocations: 11.94 kB / 1.099 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.375, allocations: 19.97 kB / 1.099 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.375, allocations: 12 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000203/0.3752, allocations: 172 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001881/0.3754, allocations: 149.7 kB / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003052/0.3758, allocations: 223.8 kB / 1.099 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.3758, allocations: 0 / 1.099 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004457/0.3762, allocations: 257.2 kB / 1.099 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3762, allocations: 9.719 kB / 1.099 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3763, allocations: 4 kB / 1.099 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-06/0.3763, allocations: 8.031 kB / 1.099 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.3765, allocations: 47.91 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.3765, allocations: 11.92 kB / 1.1 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3767, allocations: 20.23 kB / 1.1 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3767, allocations: 16.47 kB / 1.1 GB, free: 4.977 MB / 0.8575 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.0001143/0.3769, allocations: 192.1 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.3769, allocations: 15.81 kB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.3772, allocations: 150.9 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3772, allocations: 3.938 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3772, allocations: 4 kB / 1.1 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3772, allocations: 0 / 1.1 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009542/0.3782, allocations: 0.72 MB / 1.101 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3782, allocations: 4.031 kB / 1.101 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3783, allocations: 27.92 kB / 1.101 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.3783, allocations: 4 kB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3784, allocations: 11.94 kB / 1.101 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3784, allocations: 0 / 1.101 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3784, allocations: 7.984 kB / 1.101 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.3787, allocations: 378.2 kB / 1.101 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.3788, allocations: 108.9 kB / 1.101 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3788, allocations: 11.98 kB / 1.101 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.379, allocations: 4 kB / 1.101 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.3791, allocations: 19.86 kB / 1.101 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3791, allocations: 8 kB / 1.101 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001736/0.3793, allocations: 160.8 kB / 1.101 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.81e-07/0.3793, allocations: 4 kB / 1.101 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005289/0.3798, allocations: 76 kB / 1.101 GB, free: 2.93 MB / 0.8575 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.0001591/0.38, allocations: 107.1 kB / 1.102 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.3805, allocations: 284.5 kB / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3806, allocations: 0 / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.3806, allocations: 59.84 kB / 1.102 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.3811, allocations: 44.88 kB / 1.102 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.382, allocations: 410.7 kB / 1.102 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3823, allocations: 0.7402 MB / 1.103 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.3825, allocations: 73.47 kB / 1.103 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.3826, allocations: 19.44 kB / 1.103 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3826, allocations: 0 / 1.103 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of Templates: time 0.005298/0.3879, allocations: 1.922 MB / 1.105 GB, free: 15.22 MB / 0.8731 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/jenkins/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