Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.006211/0.00621, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001382/0.001382, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9883/0.9897, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004833/0.9946, allocations: 2.43 MB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.9978, allocations: 1.578 MB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.998, allocations: 0 / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.9989, allocations: 175.3 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.9994, allocations: 151.3 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/1, allocations: 191.5 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003954/1, allocations: 215.3 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/1.001, allocations: 113 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/1.001, allocations: 95.67 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/1.001, allocations: 103.6 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/1.001, allocations: 12 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/1.002, allocations: 219.6 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.447e-05/1.002, allocations: 55.88 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/1.002, allocations: 79.59 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005553/1.003, allocations: 300.8 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/1.003, allocations: 0 / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/1.003, allocations: 0 / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.387e-06/1.003, allocations: 0 / 1.213 GB, free: 7.934 MB / 0.9356 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.0008865/1.004, allocations: 491.1 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.004, allocations: 15.91 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008445/1.005, allocations: 80.64 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/1.005, allocations: 236 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/1.005, allocations: 8.656 kB / 1.214 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/1.005, allocations: 16.38 kB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/1.006, allocations: 287.6 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/1.006, allocations: 0 / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/1.006, allocations: 15.98 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/1.006, allocations: 16.23 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/1.006, allocations: 220.4 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/1.008, allocations: 1.595 MB / 1.216 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/1.008, allocations: 319.3 kB / 1.216 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.009, allocations: 61.67 kB / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/1.009, allocations: 7.984 kB / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.009, allocations: 38.56 kB / 1.217 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/1.009, allocations: 0 / 1.217 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005918/1.009, allocations: 244.6 kB / 1.217 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/1.009, allocations: 85.05 kB / 1.217 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/1.01, allocations: 207.4 kB / 1.217 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/1.01, allocations: 25.7 kB / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/1.01, allocations: 159.8 kB / 1.217 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/1.01, allocations: 39.45 kB / 1.217 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/1.01, allocations: 49.69 kB / 1.217 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.01, allocations: 326.8 kB / 1.218 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/1.01, allocations: 76.75 kB / 1.218 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/1.01, allocations: 159.1 kB / 1.218 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/1.011, allocations: 242.9 kB / 1.218 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.011, allocations: 0 / 1.218 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005003/1.011, allocations: 273.2 kB / 1.218 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.011, allocations: 4 kB / 1.218 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.011, allocations: 8.453 kB / 1.218 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.011, allocations: 11.88 kB / 1.218 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/1.012, allocations: 51.97 kB / 1.218 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.012, allocations: 7.938 kB / 1.218 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/1.012, allocations: 19.97 kB / 1.218 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/1.012, allocations: 12.19 kB / 1.218 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002185/1.012, allocations: 173 kB / 1.219 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001867/1.012, allocations: 159.5 kB / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002779/1.013, allocations: 215.9 kB / 1.219 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.149e-05/1.013, allocations: 4 kB / 1.219 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004493/1.013, allocations: 253 kB / 1.219 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.013, allocations: 11.92 kB / 1.219 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.013, allocations: 8.406 kB / 1.219 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/1.013, allocations: 8 kB / 1.219 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/1.013, allocations: 51.91 kB / 1.219 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.013, allocations: 7.938 kB / 1.219 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/1.014, allocations: 23.92 kB / 1.219 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.014, allocations: 12 kB / 1.219 GB, free: 1.117 MB / 0.9356 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.0001212/1.014, allocations: 192.2 kB / 1.22 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/1.014, allocations: 15.81 kB / 1.22 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/1.014, allocations: 151 kB / 1.22 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.014, allocations: 3.938 kB / 1.22 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.014, allocations: 0 / 1.22 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.014, allocations: 0 / 1.22 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/1.015, allocations: 0.7234 MB / 1.22 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/1.015, allocations: 4 kB / 1.22 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/1.015, allocations: 27.92 kB / 1.22 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/1.015, allocations: 3.984 kB / 1.22 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/1.015, allocations: 8 kB / 1.22 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.015, allocations: 4.344 kB / 1.22 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.479e-05/1.015, allocations: 8 kB / 1.22 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/1.016, allocations: 378.2 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/1.016, allocations: 104.9 kB / 1.221 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/1.016, allocations: 8 kB / 1.221 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/1.016, allocations: 15.92 kB / 1.221 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/1.016, allocations: 15.94 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.016, allocations: 8 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001817/1.016, allocations: 152.1 kB / 1.221 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/1.016, allocations: 0 / 1.221 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005099/1.017, allocations: 68 kB / 1.221 GB, free: 15.08 MB / 0.9512 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.0001997/1.017, allocations: 115.1 kB / 1.221 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006354/1.017, allocations: 284.7 kB / 1.222 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.018, allocations: 0 / 1.222 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/1.018, allocations: 68.2 kB / 1.222 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/1.018, allocations: 30.94 kB / 1.222 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/1.019, allocations: 411.2 kB / 1.222 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/1.02, allocations: 0.7401 MB / 1.223 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002594/1.02, allocations: 81.5 kB / 1.223 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/1.02, allocations: 19.42 kB / 1.223 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of SimCode: time 8.62e-07/1.02, allocations: 3.938 kB / 1.223 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.005429/1.025, allocations: 1.909 MB / 1.225 GB, free: 11.37 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches