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.00111/0.00111, allocations: 105.1 kB / 16.41 MB, free: 6.457 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.001102/0.001102, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.341/1.341, 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 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 60.12 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, 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.005426/1.031, allocations: 3.214 MB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002467/1.033, allocations: 1.359 MB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/1.034, allocations: 8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/1.035, allocations: 346.6 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/1.035, allocations: 151.2 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/1.036, allocations: 148.6 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004512/1.036, allocations: 326.9 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004925/1.037, allocations: 251.7 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/1.037, allocations: 147.5 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/1.037, allocations: 151.4 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/1.037, allocations: 20 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/1.038, allocations: 163.7 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/1.038, allocations: 87.77 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/1.038, allocations: 119.4 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005003/1.038, allocations: 368.5 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.039, allocations: 4 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/1.039, allocations: 0 / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.488e-05/1.039, 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.0009629/1.04, allocations: 0.5341 MB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.04, allocations: 12.92 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/1.04, allocations: 88.48 kB / 1.175 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/1.041, allocations: 254 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.041, allocations: 16.8 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/1.041, allocations: 20.38 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/1.041, allocations: 312.7 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.041, allocations: 3.938 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/1.041, allocations: 8 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/1.041, allocations: 20.42 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/1.042, allocations: 209.6 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/1.043, allocations: 1.49 MB / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/1.044, allocations: 195.7 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/1.044, allocations: 48.83 kB / 1.177 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/1.044, allocations: 3.938 kB / 1.177 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.044, allocations: 38.56 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/1.044, allocations: 0 / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005852/1.044, allocations: 259.4 kB / 1.177 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/1.045, allocations: 59.34 kB / 1.177 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/1.045, allocations: 211.6 kB / 1.178 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/1.045, allocations: 25.7 kB / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/1.045, allocations: 171.7 kB / 1.178 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/1.045, allocations: 35.55 kB / 1.178 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/1.045, allocations: 37.7 kB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.045, allocations: 334.7 kB / 1.178 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/1.045, allocations: 48.03 kB / 1.178 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/1.045, allocations: 104.6 kB / 1.178 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/1.046, allocations: 164.4 kB / 1.178 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.046, allocations: 0 / 1.178 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003787/1.046, allocations: 218.1 kB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.046, allocations: 8 kB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.046, allocations: 3.938 kB / 1.179 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/1.046, allocations: 28.83 kB / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/1.046, allocations: 35.92 kB / 1.179 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/1.047, allocations: 1.433 MB / 1.18 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/1.048, allocations: 20 kB / 1.18 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/1.048, allocations: 8 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.0001513/1.048, allocations: 154.8 kB / 1.18 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/1.048, allocations: 15.81 kB / 1.18 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/1.048, allocations: 21.39 kB / 1.18 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.048, allocations: 4 kB / 1.18 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/1.048, allocations: 0 / 1.18 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.048, allocations: 0 / 1.18 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/1.049, allocations: 491.2 kB / 1.181 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.049, allocations: 7.938 kB / 1.181 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/1.049, allocations: 11.98 kB / 1.181 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-05/1.049, allocations: 24.84 kB / 1.181 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/1.049, allocations: 0 / 1.181 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009387/1.05, allocations: 1.425 MB / 1.182 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.05, allocations: 4.156 kB / 1.182 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/1.05, allocations: 240.1 kB / 1.183 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/1.05, allocations: 92.91 kB / 1.183 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/1.05, allocations: 8 kB / 1.183 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/1.05, allocations: 7.984 kB / 1.183 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/1.05, allocations: 8 kB / 1.183 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.05, allocations: 0 / 1.183 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001179/1.05, allocations: 144.2 kB / 1.183 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.05, allocations: 0 / 1.183 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003576/1.051, allocations: 63.72 kB / 1.183 GB, free: 3.066 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001203/1.051, allocations: 109.5 kB / 1.183 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004443/1.051, allocations: 242.6 kB / 1.183 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.051, allocations: 0 / 1.183 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/1.052, allocations: 166.5 kB / 1.183 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/1.052, allocations: 34.91 kB / 1.183 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/1.053, allocations: 417.8 kB / 1.184 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.053, allocations: 0.7592 MB / 1.184 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/1.053, allocations: 19.44 kB / 1.184 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.053, allocations: 3.938 kB / 1.185 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of Templates: time 0.005888/1.059, allocations: 3.231 MB / 1.188 GB, free: 14.02 MB / 0.92 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