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.001745/0.001745, allocations: 79.97 kB / 19.76 MB, free: 2.031 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.002111/0.002111, allocations: 156.2 kB / 23.01 MB, free: 4.941 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.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.977 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 2.972/2.972, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 67.88 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9136, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004371/0.918, allocations: 3.208 MB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.9201, allocations: 1.393 MB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.9202, allocations: 5.188 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.9213, allocations: 330 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.9216, allocations: 155.2 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.922, allocations: 157.2 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.9224, allocations: 338.8 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.9227, allocations: 189.9 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.923, allocations: 150.4 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.9232, allocations: 152.2 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.9233, allocations: 20.31 kB / 1.193 GB, free: 12.51 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.9235, allocations: 153.7 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.9236, allocations: 91.97 kB / 1.193 GB, free: 12.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.9237, allocations: 100.9 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.9242, allocations: 366.5 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9242, allocations: 0.875 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9242, allocations: 0 / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9242, allocations: 0 / 1.193 GB, free: 12.24 MB / 1.076 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.0006937/0.9249, allocations: 491.9 kB / 1.194 GB, free: 11.85 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.9249, allocations: 9.344 kB / 1.194 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.9256, allocations: 86.22 kB / 1.194 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.9258, allocations: 200.1 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.9258, allocations: 17.61 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.9259, allocations: 21.5 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.9264, allocations: 391.1 kB / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9264, allocations: 5.719 kB / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.9264, allocations: 6.188 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.9265, allocations: 16.69 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.9268, allocations: 211.5 kB / 1.195 GB, free: 11.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.9279, allocations: 1.026 MB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.9283, allocations: 116.7 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.9283, allocations: 45.81 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.9284, allocations: 1.328 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.9284, allocations: 44.97 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.9284, allocations: 0 / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004828/0.9289, allocations: 180.8 kB / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.9289, allocations: 57.11 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.929, allocations: 200 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.9291, allocations: 30.83 kB / 1.196 GB, free: 10.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.9291, allocations: 173.9 kB / 1.196 GB, free: 9.887 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.9292, allocations: 29.61 kB / 1.196 GB, free: 9.863 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.9292, allocations: 45.47 kB / 1.196 GB, free: 9.828 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.9293, allocations: 331.9 kB / 1.197 GB, free: 9.504 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.592e-05/0.9294, allocations: 44.05 kB / 1.197 GB, free: 9.492 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.9295, allocations: 110 kB / 1.197 GB, free: 9.395 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.9297, allocations: 173.6 kB / 1.197 GB, free: 9.262 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9297, allocations: 1.312 kB / 1.197 GB, free: 9.262 MB / 1.076 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003316/0.93, allocations: 209.1 kB / 1.197 GB, free: 9.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.93, allocations: 9.156 kB / 1.197 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.93, allocations: 2.984 kB / 1.197 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.9302, allocations: 27.11 kB / 1.197 GB, free: 9.145 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.9303, allocations: 33.14 kB / 1.197 GB, free: 9.141 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007089/0.931, allocations: 1.298 MB / 1.199 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.9312, allocations: 24.08 kB / 1.199 GB, free: 7.867 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.9312, allocations: 7.062 kB / 1.199 GB, free: 7.867 MB / 1.076 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.0001/0.9313, allocations: 151.7 kB / 1.199 GB, free: 7.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.9313, allocations: 19.89 kB / 1.199 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.9313, allocations: 19.77 kB / 1.199 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9313, allocations: 1.344 kB / 1.199 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9314, allocations: 1.625 kB / 1.199 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9314, allocations: 0.7031 kB / 1.199 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.9318, allocations: 414.2 kB / 1.199 GB, free: 7.391 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9318, allocations: 1.5 kB / 1.199 GB, free: 7.391 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.9319, allocations: 10.34 kB / 1.199 GB, free: 7.391 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.397e-05/0.932, allocations: 25.42 kB / 1.199 GB, free: 7.379 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.932, allocations: 0 / 1.199 GB, free: 7.379 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006307/0.9326, allocations: 1.3 MB / 1.201 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.9326, allocations: 3.984 kB / 1.201 GB, free: 6.113 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.9329, allocations: 237.8 kB / 1.201 GB, free: 5.934 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.9329, allocations: 29.7 kB / 1.201 GB, free: 5.914 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.9329, allocations: 1.719 kB / 1.201 GB, free: 5.914 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9331, allocations: 10.3 kB / 1.201 GB, free: 5.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.9331, allocations: 7.141 kB / 1.201 GB, free: 5.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-06/0.9331, allocations: 1.312 kB / 1.201 GB, free: 5.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001/0.9332, allocations: 146.7 kB / 1.201 GB, free: 5.812 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9332, allocations: 4.094 kB / 1.201 GB, free: 5.809 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003326/0.9335, allocations: 61.03 kB / 1.201 GB, free: 5.793 MB / 1.076 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.032e-05/0.9336, allocations: 102.2 kB / 1.201 GB, free: 5.695 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.934, allocations: 223.4 kB / 1.201 GB, free: 5.551 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.934, allocations: 0.5625 kB / 1.201 GB, free: 5.551 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.9342, allocations: 163.3 kB / 1.202 GB, free: 5.422 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.9345, allocations: 39.33 kB / 1.202 GB, free: 5.402 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.9351, allocations: 395.4 kB / 1.202 GB, free: 5.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.9352, allocations: 151.9 kB / 1.202 GB, free: 5.066 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.085e-05/0.9353, allocations: 27.27 kB / 1.202 GB, free: 5.062 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.9354, allocations: 15.62 kB / 1.202 GB, free: 5.055 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/0.9354, allocations: 1.125 kB / 1.202 GB, free: 5.055 MB / 1.076 GB Notification: Performance of Templates: time 0.005476/0.9408, allocations: 1.856 MB / 1.204 GB, free: 4.812 MB / 1.076 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 -s ida -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/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: 8.951816158019938]