Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 113 kB / 16.42 MB, free: 6.445 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.001617/0.001617, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.84 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9829/0.9845, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005442/0.99, allocations: 3.212 MB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.9926, allocations: 1.371 MB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.9929, allocations: 12 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.9941, allocations: 338.7 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.9947, allocations: 143.2 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.9953, allocations: 156.7 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.9958, allocations: 326.9 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/0.9963, allocations: 247.7 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.9967, allocations: 147.5 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.9971, allocations: 147.5 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.9972, allocations: 20 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.9976, allocations: 171.5 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.9977, allocations: 87.72 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.9979, allocations: 115.5 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.9985, allocations: 368.5 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9985, allocations: 3.938 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9985, allocations: 0 / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.9986, allocations: 0 / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001177/0.9997, allocations: 0.5302 MB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.9998, allocations: 8.922 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006751/1, allocations: 88.48 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/1.001, allocations: 259.9 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/1.001, allocations: 12.81 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/1.001, allocations: 20.38 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/1.002, allocations: 312.6 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.002, allocations: 0 / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/1.002, allocations: 7.984 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/1.002, allocations: 28.42 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/1.002, allocations: 213.5 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/1.004, allocations: 1.482 MB / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/1.004, allocations: 203.7 kB / 1.177 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/1.004, allocations: 44.83 kB / 1.177 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.004, allocations: 4 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/1.004, allocations: 34.56 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/1.004, allocations: 0 / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0006054/1.005, allocations: 263.3 kB / 1.177 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/1.005, allocations: 51.41 kB / 1.177 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/1.005, allocations: 211.7 kB / 1.178 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.005, allocations: 29.64 kB / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.005, allocations: 171.7 kB / 1.178 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/1.005, allocations: 31.55 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/1.005, allocations: 37.72 kB / 1.178 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.006, allocations: 334.8 kB / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.943e-05/1.006, allocations: 39.98 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/1.006, allocations: 114.2 kB / 1.178 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/1.006, allocations: 172.4 kB / 1.178 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.006, allocations: 0 / 1.178 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003745/1.006, allocations: 214 kB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.006, allocations: 8.281 kB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.007, allocations: 4 kB / 1.179 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/1.007, allocations: 20.84 kB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/1.007, allocations: 35.92 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/1.008, allocations: 1.437 MB / 1.18 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/1.008, allocations: 19.83 kB / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/1.008, allocations: 12 kB / 1.18 GB, free: 6.012 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.008, allocations: 157.7 kB / 1.18 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/1.008, allocations: 15.81 kB / 1.18 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/1.008, allocations: 21.39 kB / 1.18 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.008, allocations: 0 / 1.18 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.008, allocations: 0 / 1.18 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/1.008, allocations: 96.91 kB / 1.18 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/1.009, allocations: 7.984 kB / 1.18 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/1.009, allocations: 4 kB / 1.18 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/1.009, allocations: 15.92 kB / 1.18 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003404/1.009, allocations: 217.7 kB / 1.181 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003322/1.009, allocations: 330.5 kB / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.897e-05/1.01, allocations: 40.06 kB / 1.181 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001161/1.01, allocations: 144.2 kB / 1.181 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of Backend: time 3.81e-07/1.01, allocations: 0 / 1.181 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009672/1.011, allocations: 387.7 kB / 1.182 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001016/1.012, allocations: 0.8555 MB / 1.182 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of Templates: time 0.006888/1.019, allocations: 2.758 MB / 1.185 GB, free: 0.8945 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches