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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008831/0.0008832, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001245/0.001245, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437.7 MB / 0.7117 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 8 kB / 0.8722 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8442/0.8447, allocations: 153.8 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003617/0.8483, allocations: 2.801 MB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.8505, allocations: 1.274 MB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.8507, allocations: 4 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.8509, allocations: 43.64 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.8514, allocations: 123.4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.8518, allocations: 99.75 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.8522, allocations: 374.8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.8526, allocations: 219.3 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.8528, allocations: 111.5 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.8532, allocations: 143.5 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.8532, allocations: 12 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.8534, allocations: 83.83 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.8535, allocations: 71.78 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.8535, allocations: 69.58 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.8538, allocations: 261.3 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8539, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8539, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.8539, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 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.0007741/0.8547, allocations: 0.5066 MB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.8547, allocations: 12.03 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005543/0.8553, allocations: 83.64 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.8556, allocations: 252.1 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.8556, allocations: 12.44 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.8556, allocations: 16 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.8561, allocations: 320.3 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8562, allocations: 0 / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.8562, allocations: 8 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.8562, allocations: 24.36 kB / 1.029 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.8566, allocations: 209.6 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.8581, allocations: 1.505 MB / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.8585, allocations: 207.6 kB / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.8587, allocations: 44.83 kB / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.8587, allocations: 8 kB / 1.031 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.8587, allocations: 30.56 kB / 1.031 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.8587, allocations: 0 / 1.031 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005549/0.8593, allocations: 271.3 kB / 1.031 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.8593, allocations: 51.41 kB / 1.031 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.8595, allocations: 203.8 kB / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.8595, allocations: 25.7 kB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.8597, allocations: 179.6 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.8597, allocations: 31.62 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.8597, allocations: 4 kB / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8598, allocations: 330.8 kB / 1.032 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.8599, allocations: 47.97 kB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.8601, allocations: 110.4 kB / 1.032 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.8602, allocations: 63.97 kB / 1.032 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8602, allocations: 0 / 1.032 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003607/0.8606, allocations: 222 kB / 1.033 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8606, allocations: 4 kB / 1.033 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8606, allocations: 7.953 kB / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.8608, allocations: 28.83 kB / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.8609, allocations: 40.2 kB / 1.033 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000993/0.8619, allocations: 1.331 MB / 1.034 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.8621, allocations: 24 kB / 1.034 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.8621, allocations: 8 kB / 1.034 GB, free: 3.559 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.8622, allocations: 145.8 kB / 1.034 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.8623, allocations: 15.81 kB / 1.034 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.8623, allocations: 25.34 kB / 1.034 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8623, allocations: 0 / 1.034 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8623, allocations: 0 / 1.034 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8623, allocations: 7.938 kB / 1.034 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.8629, allocations: 0.4951 MB / 1.035 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8629, allocations: 0 / 1.035 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.863, allocations: 8 kB / 1.035 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.788e-05/0.8631, allocations: 28.84 kB / 1.035 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.8631, allocations: 0 / 1.035 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008864/0.864, allocations: 1.319 MB / 1.036 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.864, allocations: 0 / 1.036 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.8643, allocations: 240.1 kB / 1.036 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.8644, allocations: 104.9 kB / 1.036 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.8644, allocations: 0 / 1.036 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.8645, allocations: 16.09 kB / 1.036 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.8646, allocations: 7.984 kB / 1.036 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.8646, allocations: 4 kB / 1.036 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001227/0.8647, allocations: 144.2 kB / 1.036 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8647, allocations: 0 / 1.036 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003507/0.8651, allocations: 55.84 kB / 1.036 GB, free: 0.7188 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.8652, allocations: 99.25 kB / 1.037 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.8657, allocations: 234.5 kB / 1.037 GB, free: 380 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8657, allocations: 0 / 1.037 GB, free: 380 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.8659, allocations: 167.2 kB / 1.037 GB, free: 200 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.8663, allocations: 40.77 kB / 1.037 GB, free: 160 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.867, allocations: 483.3 kB / 1.037 GB, free: 15.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.8673, allocations: 0.7557 MB / 1.038 GB, free: 14.87 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.8674, allocations: 25.53 kB / 1.038 GB, free: 14.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.8675, allocations: 15.44 kB / 1.038 GB, free: 14.83 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.8675, allocations: 0 / 1.038 GB, free: 14.83 MB / 0.795 GB Notification: Performance of Templates: time 0.004574/0.872, allocations: 1.772 MB / 1.04 GB, free: 13.07 MB / 0.795 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/jenkins/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