Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002551/0.002551, allocations: 164.2 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.835/2.835, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.022e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006145/0.006185, allocations: 3.186 MB / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.009104, allocations: 1.375 MB / 0.9554 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.009257, allocations: 11.94 kB / 0.9554 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.01044, allocations: 330.6 kB / 0.9557 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.0109, allocations: 159 kB / 0.9559 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.01138, allocations: 160.3 kB / 0.956 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004639/0.01184, allocations: 346.6 kB / 0.9564 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.01235, allocations: 208 kB / 0.9565 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.01273, allocations: 195.5 kB / 0.9567 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.01307, allocations: 139.6 kB / 0.9569 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.01311, allocations: 20 kB / 0.9569 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.01345, allocations: 155.6 kB / 0.957 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.01358, allocations: 87.72 kB / 0.9571 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.01372, allocations: 91.77 kB / 0.9572 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.01432, allocations: 374.8 kB / 0.9576 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.01433, allocations: 0 / 0.9576 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.522e-06/0.01433, allocations: 0 / 0.9576 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.01434, allocations: 4 kB / 0.9576 GB, free: 4.758 MB / 0.8575 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.00118/0.01552, allocations: 489.3 kB / 0.958 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.01558, allocations: 8.031 kB / 0.958 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007624/0.01634, allocations: 92.67 kB / 0.9581 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.01679, allocations: 198.7 kB / 0.9583 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.01682, allocations: 12.88 kB / 0.9583 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.01688, allocations: 36.3 kB / 0.9584 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.01754, allocations: 382.8 kB / 0.9587 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01755, allocations: 192 / 0.9587 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.01758, allocations: 4.375 kB / 0.9587 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.01763, allocations: 32.36 kB / 0.9588 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.01803, allocations: 209.8 kB / 0.959 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.01953, allocations: 1.015 MB / 0.96 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.01997, allocations: 110.6 kB / 0.9601 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.02018, allocations: 44.83 kB / 0.9601 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.02019, allocations: 7.938 kB / 0.9601 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.02023, allocations: 38.5 kB / 0.9602 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.02023, allocations: 0 / 0.9602 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0006147/0.02084, allocations: 182.4 kB / 0.9603 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.02089, allocations: 55.41 kB / 0.9604 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.02133, allocations: 204 kB / 0.9606 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.02136, allocations: 25.7 kB / 0.9606 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.02166, allocations: 180.1 kB / 0.9608 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.02169, allocations: 27.75 kB / 0.9608 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.02178, allocations: 45.64 kB / 0.9608 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.02199, allocations: 322.8 kB / 0.9611 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.02213, allocations: 51.92 kB / 0.9612 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.02231, allocations: 108.5 kB / 0.9613 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.02269, allocations: 176.3 kB / 0.9615 GB, free: 472 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02269, allocations: 0 / 0.9615 GB, free: 472 kB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000431/0.02312, allocations: 210.1 kB / 0.9617 GB, free: 252 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.02314, allocations: 8.281 kB / 0.9617 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.02315, allocations: 4 kB / 0.9617 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.02337, allocations: 32.78 kB / 0.9617 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.02351, allocations: 27.98 kB / 0.9617 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.02508, allocations: 1.311 MB / 0.963 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.02522, allocations: 20 kB / 0.963 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.02525, allocations: 12.39 kB / 0.963 GB, free: 14.73 MB / 0.8731 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.0001681/0.02542, allocations: 141.8 kB / 0.9632 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.02547, allocations: 19.89 kB / 0.9632 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.02551, allocations: 21.41 kB / 0.9632 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.02552, allocations: 0 / 0.9632 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.02552, allocations: 4 kB / 0.9632 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.02552, allocations: 0 / 0.9632 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006295/0.02615, allocations: 414.9 kB / 0.9636 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.02615, allocations: 0 / 0.9636 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.02622, allocations: 11.98 kB / 0.9636 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.057e-05/0.0263, allocations: 24.84 kB / 0.9637 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.02631, allocations: 0 / 0.9637 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.02776, allocations: 1.291 MB / 0.9649 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.02776, allocations: 3.938 kB / 0.9649 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.02815, allocations: 236.2 kB / 0.9651 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.02829, allocations: 27.83 kB / 0.9652 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.02831, allocations: 3.938 kB / 0.9652 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.02844, allocations: 8 kB / 0.9652 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.0285, allocations: 11.98 kB / 0.9652 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.02851, allocations: 0 / 0.9652 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001523/0.02866, allocations: 144.5 kB / 0.9653 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.02866, allocations: 4.062 kB / 0.9653 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003825/0.02904, allocations: 55.89 kB / 0.9654 GB, free: 12.15 MB / 0.8731 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.000179/0.02922, allocations: 95.25 kB / 0.9655 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.02973, allocations: 238.5 kB / 0.9657 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02974, allocations: 0.5625 kB / 0.9657 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.02998, allocations: 166.5 kB / 0.9659 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.03039, allocations: 34.38 kB / 0.9659 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.0312, allocations: 374.5 kB / 0.9663 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.03141, allocations: 148.2 kB / 0.9664 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.03151, allocations: 25.47 kB / 0.9664 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.03156, allocations: 16.5 kB / 0.9664 GB, free: 11 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.03156, allocations: 0 / 0.9664 GB, free: 11 MB / 0.8731 GB Notification: Performance of Templates: time 0.00657/0.03814, allocations: 1.866 MB / 0.9683 GB, free: 9.191 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.906828343868256]