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.001317/0.001317, allocations: 102.3 kB / 16.27 MB, free: 5.996 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.00129/0.00129, allocations: 189.4 kB / 17.2 MB, free: 5.605 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.683/2.683, allocations: 437.1 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 68.22 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005339/0.3555, allocations: 3.223 MB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3581, allocations: 1.379 MB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.3582, allocations: 4 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.3594, allocations: 343.2 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.3598, allocations: 151.2 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.3603, allocations: 144.5 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.3607, allocations: 334.9 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.3612, allocations: 248 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.3614, allocations: 139.5 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.3617, allocations: 139.5 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.3618, allocations: 23.94 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.3621, allocations: 167.6 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3623, allocations: 83.8 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.3624, allocations: 123.4 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004613/0.3629, allocations: 358.8 kB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3629, allocations: 4 kB / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.21e-07/0.3629, allocations: 0 / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.3629, allocations: 0 / 1.025 GB, free: 3.77 MB / 0.795 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.0009362/0.3638, allocations: 0.5302 MB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3639, allocations: 8.922 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.3645, allocations: 88.58 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.3649, allocations: 250.5 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3649, allocations: 12.81 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.3649, allocations: 20.38 kB / 1.026 GB, free: 2.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.3655, allocations: 320.6 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3655, allocations: 0 / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.3655, allocations: 12 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.3656, allocations: 16.42 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.3659, allocations: 209.6 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.3676, allocations: 1.501 MB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.3681, allocations: 207.7 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.3682, allocations: 44.84 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.3683, allocations: 4 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3683, allocations: 30.56 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.3683, allocations: 0 / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0006206/0.3689, allocations: 263.3 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.369, allocations: 55.41 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3692, allocations: 204.8 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3692, allocations: 25.7 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3694, allocations: 183.6 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3694, allocations: 31.5 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.3695, allocations: 37.7 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3696, allocations: 334.8 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3698, allocations: 43.97 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3699, allocations: 110.2 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.3702, allocations: 168.4 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3702, allocations: 0 / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003856/0.3706, allocations: 210 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3706, allocations: 10.45 kB / 1.029 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3706, allocations: 8 kB / 1.029 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.3708, allocations: 24.84 kB / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3709, allocations: 39.86 kB / 1.029 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3722, allocations: 1.429 MB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3724, allocations: 19.91 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.3724, allocations: 8 kB / 1.031 GB, free: 12.77 MB / 0.8106 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.0001585/0.3725, allocations: 155.1 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3726, allocations: 15.81 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.3726, allocations: 21.39 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3726, allocations: 4 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3727, allocations: 0 / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3727, allocations: 0 / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.3733, allocations: 491.2 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3734, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.3734, allocations: 12 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.363e-05/0.3735, allocations: 20.84 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3735, allocations: 8.078 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.3747, allocations: 1.429 MB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3747, allocations: 0 / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.3751, allocations: 240.3 kB / 1.033 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.3752, allocations: 96.91 kB / 1.033 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3752, allocations: 7.938 kB / 1.033 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3754, allocations: 7.984 kB / 1.033 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.3754, allocations: 8 kB / 1.033 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3754, allocations: 3.938 kB / 1.033 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001455/0.3756, allocations: 152.5 kB / 1.033 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3756, allocations: 0 / 1.033 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003469/0.376, allocations: 63.77 kB / 1.034 GB, free: 9.82 MB / 0.8106 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.0001553/0.3761, allocations: 95.25 kB / 1.034 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.3766, allocations: 239.4 kB / 1.034 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3766, allocations: 0 / 1.034 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.3769, allocations: 162.7 kB / 1.034 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3773, allocations: 40.06 kB / 1.034 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/0.3781, allocations: 429.6 kB / 1.034 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.3786, allocations: 0.7554 MB / 1.035 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.3786, allocations: 15.44 kB / 1.035 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3786, allocations: 0 / 1.035 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of Templates: time 0.006042/0.3847, allocations: 3.224 MB / 1.038 GB, free: 4.793 MB / 0.8106 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=400 -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