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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 114.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 489.2 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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 0.002828/0.002828, allocations: 67.89 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197/1.2, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005262/1.205, allocations: 3.223 MB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002509/1.208, allocations: 1.39 MB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/1.208, allocations: 4.219 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/1.209, allocations: 344.8 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004733/1.209, allocations: 149.7 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/1.21, allocations: 143.6 kB / 1.268 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005147/1.211, allocations: 334.9 kB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005428/1.211, allocations: 249.8 kB / 1.268 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/1.211, allocations: 139.5 kB / 1.268 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/1.212, allocations: 153.4 kB / 1.269 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/1.212, allocations: 20.22 kB / 1.269 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/1.212, allocations: 165.8 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/1.212, allocations: 84.56 kB / 1.269 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/1.212, allocations: 117.6 kB / 1.269 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006404/1.213, allocations: 360.9 kB / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.213, allocations: 4 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.146e-06/1.213, allocations: 0.875 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.61e-05/1.213, allocations: 0 / 1.269 GB, free: 3.836 MB / 0.9981 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.000921/1.214, allocations: 0.5497 MB / 1.27 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.214, allocations: 9.656 kB / 1.27 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006558/1.215, allocations: 80.72 kB / 1.27 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.215, allocations: 262 kB / 1.27 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/1.215, allocations: 17.03 kB / 1.27 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/1.215, allocations: 16.81 kB / 1.27 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/1.216, allocations: 311.4 kB / 1.27 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.216, allocations: 5 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/1.216, allocations: 14.81 kB / 1.27 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/1.216, allocations: 16.69 kB / 1.27 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/1.216, allocations: 211.8 kB / 1.271 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/1.218, allocations: 1.493 MB / 1.272 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/1.218, allocations: 206.2 kB / 1.272 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/1.218, allocations: 44.64 kB / 1.272 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/1.218, allocations: 0.7188 kB / 1.272 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/1.218, allocations: 40.39 kB / 1.272 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/1.218, allocations: 0 / 1.272 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005906/1.219, allocations: 263.4 kB / 1.273 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/1.219, allocations: 56 kB / 1.273 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/1.219, allocations: 199.7 kB / 1.273 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/1.219, allocations: 29.7 kB / 1.273 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/1.219, allocations: 187.2 kB / 1.273 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/1.219, allocations: 29.62 kB / 1.273 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/1.219, allocations: 41.83 kB / 1.273 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/1.219, allocations: 326.6 kB / 1.273 GB, free: 320 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/1.22, allocations: 44.61 kB / 1.274 GB, free: 308 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/1.22, allocations: 111.8 kB / 1.274 GB, free: 204 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/1.22, allocations: 168.2 kB / 1.274 GB, free: 72 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.22, allocations: 0 / 1.274 GB, free: 72 kB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004413/1.22, allocations: 213.9 kB / 1.274 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.22, allocations: 5.844 kB / 1.274 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.22, allocations: 3.094 kB / 1.274 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/1.221, allocations: 26.33 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.221, allocations: 36.89 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/1.222, allocations: 1.429 MB / 1.275 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/1.222, allocations: 32.41 kB / 1.275 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/1.222, allocations: 6.188 kB / 1.275 GB, free: 14.5 MB / 1.014 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.000173/1.222, allocations: 152.7 kB / 1.276 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/1.223, allocations: 15.97 kB / 1.276 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/1.223, allocations: 24.77 kB / 1.276 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.223, allocations: 1.688 kB / 1.276 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.223, allocations: 1.281 kB / 1.276 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.223, allocations: 0 / 1.276 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/1.223, allocations: 490.8 kB / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.223, allocations: 0 / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/1.223, allocations: 10.58 kB / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.953e-05/1.223, allocations: 23.53 kB / 1.276 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.224, allocations: 4.938 kB / 1.276 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/1.225, allocations: 1.426 MB / 1.278 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.225, allocations: 5.469 kB / 1.278 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/1.225, allocations: 241.7 kB / 1.278 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.283e-05/1.225, allocations: 100.8 kB / 1.278 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/1.225, allocations: 0.9062 kB / 1.278 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/1.225, allocations: 5.641 kB / 1.278 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/1.225, allocations: 12.88 kB / 1.278 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/1.225, allocations: 2.625 kB / 1.278 GB, free: 12.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001597/1.226, allocations: 146.1 kB / 1.278 GB, free: 12.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.226, allocations: 0.5938 kB / 1.278 GB, free: 12.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003809/1.226, allocations: 59.61 kB / 1.278 GB, free: 12.11 MB / 1.014 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.0001493/1.226, allocations: 101.2 kB / 1.278 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005084/1.227, allocations: 234.4 kB / 1.278 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.227, allocations: 0 / 1.278 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/1.227, allocations: 161.9 kB / 1.279 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/1.227, allocations: 36.5 kB / 1.279 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/1.228, allocations: 431.2 kB / 1.279 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.229, allocations: 0.7577 MB / 1.28 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/1.229, allocations: 14.91 kB / 1.28 GB, free: 10.72 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.229, allocations: 4.906 kB / 1.28 GB, free: 10.72 MB / 1.014 GB Notification: Performance of Templates: time 0.006855/1.236, allocations: 3.239 MB / 1.283 GB, free: 10.45 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.55103466194123]