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.001446/0.001447, allocations: 111 kB / 16.41 MB, free: 6.453 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.001545/0.001545, allocations: 187.9 kB / 17.35 MB, free: 5.734 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.351/1.351, allocations: 222.9 MB / 241.1 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.52/2.52, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 68.11 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9366/0.9382, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004681/0.943, allocations: 2.425 MB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.946, allocations: 1.585 MB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.9462, allocations: 7.938 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008031/0.9471, allocations: 175.3 kB / 1.213 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.9476, allocations: 147.4 kB / 1.213 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.9481, allocations: 187.5 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.9486, allocations: 219.3 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.9489, allocations: 113 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.9491, allocations: 91.67 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.9495, allocations: 107.6 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.9495, allocations: 12 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.95, allocations: 215.6 kB / 1.214 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.9501, allocations: 59.86 kB / 1.214 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.9502, allocations: 75.61 kB / 1.214 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.9507, allocations: 300.8 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.9507, allocations: 4 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9507, allocations: 0 / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.9508, allocations: 3.938 kB / 1.214 GB, free: 7.977 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.0008224/0.9516, allocations: 483.1 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.9516, allocations: 8.031 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008384/0.9525, allocations: 88.64 kB / 1.215 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.9528, allocations: 232 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.9528, allocations: 16.64 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.9529, allocations: 12.38 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.9534, allocations: 291.6 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.9534, allocations: 3.938 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.9535, allocations: 11.98 kB / 1.215 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.9535, allocations: 20.23 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.954, allocations: 224.4 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.9559, allocations: 1.587 MB / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.9563, allocations: 319.2 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.9564, allocations: 61.84 kB / 1.217 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.9564, allocations: 3.984 kB / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.9565, allocations: 42.56 kB / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 5.671e-06/0.9565, allocations: 3.984 kB / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005901/0.9571, allocations: 244.4 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.9571, allocations: 81.11 kB / 1.218 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.9574, allocations: 207.4 kB / 1.218 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.9574, allocations: 25.7 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9576, allocations: 159.8 kB / 1.218 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.9576, allocations: 39.45 kB / 1.218 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.9577, allocations: 53.69 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.9578, allocations: 322.8 kB / 1.218 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.958, allocations: 80.75 kB / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.9582, allocations: 160.6 kB / 1.219 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.9586, allocations: 238.8 kB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9586, allocations: 4 kB / 1.219 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005087/0.9591, allocations: 277.3 kB / 1.219 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9591, allocations: 8 kB / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9591, allocations: 4 kB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.9592, allocations: 4 kB / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.9594, allocations: 55.84 kB / 1.219 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/0.9595, allocations: 7.984 kB / 1.219 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.9597, allocations: 19.98 kB / 1.219 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.9598, allocations: 12 kB / 1.219 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002127/0.96, allocations: 168.2 kB / 1.219 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002299/0.9602, allocations: 155.5 kB / 1.219 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002948/0.9605, allocations: 219.8 kB / 1.22 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.9605, allocations: 0 / 1.22 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004536/0.961, allocations: 261.5 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.961, allocations: 4 kB / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.9611, allocations: 4.406 kB / 1.22 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.9611, allocations: 8 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.9613, allocations: 51.91 kB / 1.22 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.9613, allocations: 11.88 kB / 1.22 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.9615, allocations: 19.92 kB / 1.22 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.9615, allocations: 15.98 kB / 1.22 GB, free: 1.168 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.0001301/0.9617, allocations: 196.1 kB / 1.22 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.9617, allocations: 11.81 kB / 1.22 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.962, allocations: 147.1 kB / 1.22 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.962, allocations: 7.938 kB / 1.22 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9621, allocations: 7.984 kB / 1.22 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.9621, allocations: 100.9 kB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.9622, allocations: 0 / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.9624, allocations: 19.97 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.9625, allocations: 4 kB / 1.221 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003168/0.9628, allocations: 304.1 kB / 1.221 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003504/0.9631, allocations: 393.7 kB / 1.221 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.055e-05/0.9632, allocations: 51.97 kB / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000187/0.9634, allocations: 152.1 kB / 1.221 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of Backend: time 4.91e-07/0.9634, allocations: 0 / 1.221 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.9646, allocations: 423.5 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009909/0.9656, allocations: 0.7683 MB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of Templates: time 0.008176/0.9738, allocations: 4.03 MB / 1.226 GB, free: 10.48 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/jenkins1/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