Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001955/0.001955, 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.002193/0.002193, allocations: 164.1 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.562/1.562, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.022/3.022, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.665e-05/3.817e-05, allocations: 2.281 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005676/0.005715, allocations: 3.174 MB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.00834, allocations: 1.379 MB / 1.005 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.008484, allocations: 4 kB / 1.005 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.009669, allocations: 339.6 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.01006, allocations: 163 kB / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.01049, allocations: 162.2 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.01097, allocations: 342.7 kB / 1.006 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.01143, allocations: 200 kB / 1.006 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.0118, allocations: 195.5 kB / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.01211, allocations: 139.6 kB / 1.006 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.01216, allocations: 20 kB / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.01247, allocations: 155.6 kB / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.01261, allocations: 91.72 kB / 1.006 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.01275, allocations: 95.77 kB / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.01332, allocations: 370.8 kB / 1.007 GB, free: 492 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.01333, allocations: 0 / 1.007 GB, free: 492 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01333, allocations: 0 / 1.007 GB, free: 492 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.01334, allocations: 0 / 1.007 GB, free: 492 kB / 0.9512 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.001087/0.01442, allocations: 483.5 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.01447, allocations: 8.031 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006981/0.01517, allocations: 100.7 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.01552, allocations: 194 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.01555, allocations: 12.88 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.01558, allocations: 20.38 kB / 1.008 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.01621, allocations: 394.8 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01622, allocations: 8.188 kB / 1.008 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.01625, allocations: 10.25 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.0163, allocations: 20.5 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.01672, allocations: 217.7 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.0182, allocations: 1.019 MB / 1.009 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.01864, allocations: 114.6 kB / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.01875, allocations: 44.83 kB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.01877, allocations: 0 / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.0188, allocations: 38.5 kB / 1.009 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 4.679e-06/0.01881, allocations: 3.984 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005996/0.01941, allocations: 186.3 kB / 1.01 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.01945, allocations: 55.41 kB / 1.01 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.0197, allocations: 194.8 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.01972, allocations: 25.7 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.01986, allocations: 184 kB / 1.01 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.01989, allocations: 35.72 kB / 1.01 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.01996, allocations: 37.67 kB / 1.01 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.02011, allocations: 322.8 kB / 1.01 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.02022, allocations: 55.91 kB / 1.01 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.02038, allocations: 108.5 kB / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.02066, allocations: 160.4 kB / 1.011 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.02066, allocations: 4 kB / 1.011 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004001/0.02106, allocations: 210.1 kB / 1.011 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.02108, allocations: 7.938 kB / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.02109, allocations: 4 kB / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.02129, allocations: 37.06 kB / 1.011 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.02143, allocations: 27.98 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.02268, allocations: 1.303 MB / 1.012 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.02281, allocations: 11.98 kB / 1.012 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.02283, allocations: 15.94 kB / 1.012 GB, free: 10.46 MB / 0.9669 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.0001748/0.023, allocations: 153.8 kB / 1.012 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.02305, allocations: 15.91 kB / 1.012 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.02309, allocations: 17.47 kB / 1.012 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.02309, allocations: 0 / 1.012 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.0231, allocations: 4 kB / 1.012 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.0231, allocations: 3.984 kB / 1.012 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.02372, allocations: 406.8 kB / 1.013 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02373, allocations: 0 / 1.013 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.0238, allocations: 20.05 kB / 1.013 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.252e-05/0.02388, allocations: 24.84 kB / 1.013 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.02389, allocations: 0 / 1.013 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.0251, allocations: 1.295 MB / 1.014 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0251, allocations: 0 / 1.014 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.02547, allocations: 244.3 kB / 1.014 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.02553, allocations: 23.89 kB / 1.014 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.02555, allocations: 0 / 1.014 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.02567, allocations: 4 kB / 1.014 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.02574, allocations: 11.98 kB / 1.014 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.02575, allocations: 0 / 1.014 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001412/0.02589, allocations: 142.7 kB / 1.014 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.02589, allocations: 0 / 1.014 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003433/0.02623, allocations: 63.78 kB / 1.015 GB, free: 7.871 MB / 0.9669 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.0001674/0.0264, allocations: 107.2 kB / 1.015 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005277/0.02693, allocations: 231 kB / 1.015 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.02693, allocations: 0 / 1.015 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.02716, allocations: 155.2 kB / 1.015 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.02755, allocations: 42 kB / 1.015 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.02834, allocations: 378.6 kB / 1.015 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.02851, allocations: 148.1 kB / 1.016 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.589e-05/0.02861, allocations: 29.66 kB / 1.016 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.02865, allocations: 12.5 kB / 1.016 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.02865, allocations: 3.938 kB / 1.016 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of Templates: time 0.006138/0.03479, allocations: 1.854 MB / 1.017 GB, free: 4.898 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.148348532617092]