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.0008313/0.0008313, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008226/0.0008226, allocations: 181.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.8401/0.8401, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.603/1.603, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.776e-06/2.776e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/3.057e-05, allocations: 5.234 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003178/0.003208, allocations: 3.182 MB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.004741, allocations: 1.367 MB / 0.9561 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.004847, allocations: 11.94 kB / 0.9562 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.005494, allocations: 337.3 kB / 0.9565 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.005734, allocations: 159 kB / 0.9566 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.005984, allocations: 167.4 kB / 0.9568 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.006269, allocations: 330.8 kB / 0.9571 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.006592, allocations: 212 kB / 0.9573 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.006808, allocations: 195.4 kB / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.006994, allocations: 147.6 kB / 0.9576 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.007025, allocations: 20 kB / 0.9576 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.007202, allocations: 151.6 kB / 0.9578 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.007275, allocations: 95.7 kB / 0.9579 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.007342, allocations: 87.77 kB / 0.958 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.007676, allocations: 370.8 kB / 0.9583 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007679, allocations: 4 kB / 0.9583 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007681, allocations: 0 / 0.9583 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.007685, allocations: 0 / 0.9583 GB, free: 12.18 MB / 0.9167 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.0006082/0.008293, allocations: 489.3 kB / 0.9588 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.008331, allocations: 8.031 kB / 0.9588 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.0087, allocations: 92.7 kB / 0.9589 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.00893, allocations: 194 kB / 0.9591 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.008944, allocations: 16.88 kB / 0.9591 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.008966, allocations: 24.38 kB / 0.9591 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.009333, allocations: 394.8 kB / 0.9595 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.009343, allocations: 192 / 0.9595 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.009361, allocations: 4.375 kB / 0.9595 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.009388, allocations: 24.44 kB / 0.9595 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.009623, allocations: 213.8 kB / 0.9597 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000869/0.01049, allocations: 1.023 MB / 0.9607 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.01076, allocations: 114.6 kB / 0.9608 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.01081, allocations: 40.83 kB / 0.9609 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.01083, allocations: 11.94 kB / 0.9609 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.01085, allocations: 34.5 kB / 0.9609 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.01085, allocations: 0 / 0.9609 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003474/0.01119, allocations: 182.3 kB / 0.9611 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.01122, allocations: 59.39 kB / 0.9611 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.01136, allocations: 200.3 kB / 0.9613 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.01137, allocations: 25.7 kB / 0.9614 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.01146, allocations: 180.1 kB / 0.9615 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.01147, allocations: 35.78 kB / 0.9616 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.01152, allocations: 37.67 kB / 0.9616 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.01159, allocations: 322.8 kB / 0.9619 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.01165, allocations: 47.97 kB / 0.962 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.01182, allocations: 114.5 kB / 0.9621 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.01197, allocations: 172.4 kB / 0.9622 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01198, allocations: 0 / 0.9622 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002251/0.0122, allocations: 210.4 kB / 0.9624 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.01221, allocations: 14.97 kB / 0.9624 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01222, allocations: 0 / 0.9624 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.01234, allocations: 28.84 kB / 0.9625 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.01242, allocations: 31.92 kB / 0.9625 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006836/0.0131, allocations: 1.311 MB / 0.9638 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.01317, allocations: 11.89 kB / 0.9638 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01318, allocations: 12 kB / 0.9638 GB, free: 6.156 MB / 0.9167 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 9.237e-05/0.01327, allocations: 145.8 kB / 0.9639 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.01329, allocations: 15.91 kB / 0.964 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.01332, allocations: 21.41 kB / 0.964 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01332, allocations: 4 kB / 0.964 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01332, allocations: 0 / 0.964 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01332, allocations: 3.984 kB / 0.964 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.01368, allocations: 414.9 kB / 0.9644 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01368, allocations: 3.984 kB / 0.9644 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.01371, allocations: 8 kB / 0.9644 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/0.01376, allocations: 24.84 kB / 0.9644 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01377, allocations: 4.062 kB / 0.9644 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005467/0.01431, allocations: 1.291 MB / 0.9657 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.01432, allocations: 7.969 kB / 0.9657 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.01448, allocations: 228.3 kB / 0.9659 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.01451, allocations: 31.77 kB / 0.9659 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.01452, allocations: 3.938 kB / 0.9659 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.01458, allocations: 4 kB / 0.9659 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.01461, allocations: 15.97 kB / 0.966 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.01461, allocations: 0 / 0.966 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.1e-05/0.01469, allocations: 147.1 kB / 0.9661 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01469, allocations: 0 / 0.9661 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001987/0.01488, allocations: 59.84 kB / 0.9662 GB, free: 3.566 MB / 0.9167 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 8.52e-05/0.01497, allocations: 103.2 kB / 0.9663 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.01525, allocations: 219 kB / 0.9665 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01525, allocations: 128 / 0.9665 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.783e-05/0.01535, allocations: 158.7 kB / 0.9666 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.01558, allocations: 38.06 kB / 0.9667 GB, free: 3.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.01604, allocations: 428.1 kB / 0.9671 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.502e-05/0.01613, allocations: 152.2 kB / 0.9672 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.01617, allocations: 16.5 kB / 0.9672 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of SimCode: time 2.71e-07/0.01617, allocations: 0 / 0.9672 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of Templates: time 0.003327/0.0195, allocations: 3.298 MB / 0.9704 GB, free: 15.09 MB / 0.9323 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: 6.6619796473532915]