Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_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_latest_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.001067/0.001067, allocations: 112.2 kB / 16.42 MB, free: 6.469 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.001004/0.001004, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.89 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9218/0.9231, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005133/0.9283, allocations: 3.217 MB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.9308, allocations: 1.36 MB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.931, allocations: 7.938 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.932, allocations: 334.7 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.9325, allocations: 151.2 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.9329, allocations: 151.6 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.9333, allocations: 330.9 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004576/0.9338, allocations: 247.7 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.934, allocations: 135.5 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.9344, allocations: 159.4 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.9344, allocations: 20 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.9347, allocations: 163.6 kB / 1.215 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.9348, allocations: 91.78 kB / 1.215 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.935, allocations: 115.4 kB / 1.215 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.9354, allocations: 364.5 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9354, allocations: 4 kB / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9354, allocations: 0 / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9354, allocations: 0 / 1.215 GB, free: 6.848 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008734/0.9363, allocations: 0.5302 MB / 1.216 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.9363, allocations: 8.031 kB / 1.216 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/0.9369, allocations: 92.48 kB / 1.216 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.9372, allocations: 257.4 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.9373, allocations: 12.81 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.9373, allocations: 24.36 kB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.9378, allocations: 316.6 kB / 1.216 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.9378, allocations: 4 kB / 1.216 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.9379, allocations: 11.94 kB / 1.216 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.9379, allocations: 16.44 kB / 1.216 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.9383, allocations: 213.5 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.9398, allocations: 1.486 MB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.9402, allocations: 211.6 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.9403, allocations: 40.84 kB / 1.218 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.9404, allocations: 7.984 kB / 1.218 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.9404, allocations: 34.56 kB / 1.218 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.9404, allocations: 0 / 1.218 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005579/0.9409, allocations: 259.3 kB / 1.218 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.941, allocations: 51.41 kB / 1.219 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.9412, allocations: 211.7 kB / 1.219 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.9412, allocations: 29.7 kB / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.9413, allocations: 175.7 kB / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.9414, allocations: 31.55 kB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.9414, allocations: 29.72 kB / 1.219 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9416, allocations: 334.8 kB / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.9417, allocations: 43.92 kB / 1.219 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.9418, allocations: 117.8 kB / 1.219 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.9421, allocations: 168.4 kB / 1.22 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9421, allocations: 0 / 1.22 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003861/0.9425, allocations: 214 kB / 1.22 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9425, allocations: 4 kB / 1.22 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9425, allocations: 4 kB / 1.22 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.9427, allocations: 24.84 kB / 1.22 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.9428, allocations: 36.3 kB / 1.22 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.9439, allocations: 1.433 MB / 1.221 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.944, allocations: 19.88 kB / 1.221 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.9441, allocations: 11.98 kB / 1.221 GB, free: 15.84 MB / 0.9512 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.0001341/0.9442, allocations: 149.7 kB / 1.221 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.9442, allocations: 15.81 kB / 1.221 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.9443, allocations: 21.39 kB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.9443, allocations: 4.062 kB / 1.221 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9443, allocations: 4.062 kB / 1.221 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.9444, allocations: 100.9 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.9444, allocations: 3.938 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.9445, allocations: 4 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.9446, allocations: 11.92 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003311/0.9449, allocations: 213.8 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003292/0.9453, allocations: 330.5 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.281e-05/0.9454, allocations: 40.55 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001155/0.9455, allocations: 145.5 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of Backend: time 4.71e-07/0.9455, allocations: 0 / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008814/0.9464, allocations: 376.7 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009075/0.9473, allocations: 0.8728 MB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.006334/0.9536, allocations: 2.796 MB / 1.226 GB, free: 10.69 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches