Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00162/0.00162, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001815/0.001815, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 62.19 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3537, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.007229/0.361, allocations: 3.217 MB / 0.9543 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3643, allocations: 1.367 MB / 0.9556 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.3645, allocations: 7.938 kB / 0.9556 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.3658, allocations: 334.7 kB / 0.9559 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.3665, allocations: 155.2 kB / 0.9561 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.3671, allocations: 151.5 kB / 0.9562 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.3676, allocations: 326.9 kB / 0.9565 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.3682, allocations: 255.6 kB / 0.9568 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.3685, allocations: 139.5 kB / 0.9569 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.3689, allocations: 147.4 kB / 0.957 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.3689, allocations: 20 kB / 0.9571 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.3694, allocations: 163.7 kB / 0.9572 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3695, allocations: 87.72 kB / 0.9573 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.3697, allocations: 131.4 kB / 0.9574 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.3703, allocations: 358.9 kB / 0.9578 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3703, allocations: 0 / 0.9578 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3703, allocations: 0 / 0.9578 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3703, allocations: 0 / 0.9578 GB, free: 1.246 MB / 0.7325 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.001128/0.3715, allocations: 0.5418 MB / 0.9583 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3715, allocations: 8.031 kB / 0.9583 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.3724, allocations: 88.56 kB / 0.9584 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.3728, allocations: 247.9 kB / 0.9586 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3728, allocations: 12.81 kB / 0.9586 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.3729, allocations: 28.36 kB / 0.9587 GB, free: 244 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.3736, allocations: 312.6 kB / 0.959 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3736, allocations: 0 / 0.959 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.3736, allocations: 8 kB / 0.959 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.3737, allocations: 24.42 kB / 0.959 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.3742, allocations: 213.6 kB / 0.9592 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.3764, allocations: 1.497 MB / 0.9607 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.377, allocations: 199.7 kB / 0.9608 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3771, allocations: 44.83 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3772, allocations: 0 / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3772, allocations: 42.56 kB / 0.9609 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.3772, allocations: 0 / 0.9609 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.0008092/0.3781, allocations: 259.3 kB / 0.9612 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3781, allocations: 59.39 kB / 0.9612 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.3784, allocations: 203.8 kB / 0.9614 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3785, allocations: 25.7 kB / 0.9615 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3787, allocations: 179.6 kB / 0.9616 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3787, allocations: 27.64 kB / 0.9617 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.3788, allocations: 37.61 kB / 0.9617 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.379, allocations: 330.8 kB / 0.962 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.3792, allocations: 43.97 kB / 0.962 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3794, allocations: 114.4 kB / 0.9622 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.3798, allocations: 164.4 kB / 0.9623 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3798, allocations: 0 / 0.9623 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005899/0.3804, allocations: 221.9 kB / 0.9625 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3804, allocations: 10.03 kB / 0.9625 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3805, allocations: 0 / 0.9625 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.3807, allocations: 32.83 kB / 0.9626 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.3809, allocations: 36.14 kB / 0.9626 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3825, allocations: 1.426 MB / 0.964 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.3827, allocations: 27.73 kB / 0.964 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.3828, allocations: 4 kB / 0.964 GB, free: 10.23 MB / 0.7481 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.0001682/0.383, allocations: 153.7 kB / 0.9642 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.383, allocations: 15.81 kB / 0.9642 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.3831, allocations: 21.39 kB / 0.9642 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3831, allocations: 0 / 0.9642 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3831, allocations: 4.062 kB / 0.9642 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3831, allocations: 0 / 0.9642 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.3838, allocations: 487.2 kB / 0.9647 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3838, allocations: 3.938 kB / 0.9647 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.3839, allocations: 16.05 kB / 0.9647 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-05/0.384, allocations: 24.84 kB / 0.9647 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.384, allocations: 0 / 0.9647 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.3851, allocations: 1.433 MB / 0.9661 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3851, allocations: 0 / 0.9661 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3854, allocations: 232.1 kB / 0.9663 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3855, allocations: 100.9 kB / 0.9664 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3856, allocations: 0 / 0.9664 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3857, allocations: 8.062 kB / 0.9664 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3858, allocations: 11.92 kB / 0.9664 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.3858, allocations: 4 kB / 0.9665 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001506/0.3859, allocations: 149.5 kB / 0.9666 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3859, allocations: 0 / 0.9666 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003801/0.3863, allocations: 59.78 kB / 0.9667 GB, free: 7.285 MB / 0.7481 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.0001415/0.3865, allocations: 100.2 kB / 0.9667 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.3869, allocations: 234.5 kB / 0.967 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3869, allocations: 0 / 0.967 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.3872, allocations: 162.7 kB / 0.9671 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3876, allocations: 44.73 kB / 0.9672 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.3883, allocations: 387.6 kB / 0.9675 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3887, allocations: 0.7593 MB / 0.9683 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.987e-05/0.3888, allocations: 21.53 kB / 0.9683 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.3889, allocations: 19.44 kB / 0.9683 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.3889, allocations: 0 / 0.9683 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of Templates: time 0.005713/0.3946, allocations: 1.925 MB / 0.9702 GB, free: 3.586 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches