Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001714/0.001714, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002135/0.002135, allocations: 219.7 kB / 23.01 MB, free: 4.609 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.274/3.274, allocations: 0.49 GB / 0.7958 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00209/0.00209, allocations: 68.09 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3998, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00555/0.4054, allocations: 3.344 MB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.4081, allocations: 1.496 MB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.4083, allocations: 11.94 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.4094, allocations: 355.6 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.4098, allocations: 143.2 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.4102, allocations: 163.5 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.4106, allocations: 330.9 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004398/0.4111, allocations: 208 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.4113, allocations: 151.5 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.4116, allocations: 159.4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.4117, allocations: 20 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/0.412, allocations: 175.6 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4121, allocations: 87.72 kB / 1.334 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.4123, allocations: 119.4 kB / 1.334 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.4129, allocations: 366.6 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4129, allocations: 0 / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4129, allocations: 0 / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.4129, allocations: 0 / 1.334 GB, free: 10.4 MB / 1.029 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.0009678/0.4139, allocations: 489.3 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4139, allocations: 8.031 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006605/0.4146, allocations: 92.66 kB / 1.335 GB, free: 9.793 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.4149, allocations: 199.8 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.415, allocations: 16.81 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.415, allocations: 20.38 kB / 1.335 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.4156, allocations: 312.6 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4156, allocations: 4 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.4156, allocations: 12 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.4157, allocations: 16.42 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.4161, allocations: 217.5 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.4179, allocations: 1.459 MB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.4184, allocations: 122.6 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.4184, allocations: 40.84 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.4185, allocations: 3.984 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4185, allocations: 38.55 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4185, allocations: 7.875 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005667/0.4191, allocations: 190.3 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.4191, allocations: 51.41 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.4194, allocations: 210.9 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.4194, allocations: 25.7 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.4196, allocations: 172 kB / 1.338 GB, free: 6.434 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.4196, allocations: 39.72 kB / 1.338 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.688e-05/0.4197, allocations: 37.67 kB / 1.338 GB, free: 6.352 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4199, allocations: 330.8 kB / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.4201, allocations: 47.91 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4202, allocations: 113.9 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.4205, allocations: 164.4 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4205, allocations: 3.938 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004674/0.421, allocations: 218.3 kB / 1.339 GB, free: 5.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.421, allocations: 4 kB / 1.339 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.421, allocations: 4 kB / 1.339 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.4212, allocations: 20.84 kB / 1.339 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4213, allocations: 39.86 kB / 1.339 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.4228, allocations: 1.322 MB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.4229, allocations: 15.89 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4229, allocations: 8.156 kB / 1.34 GB, free: 3.887 MB / 1.029 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.0001775/0.4231, allocations: 161.6 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.4231, allocations: 15.91 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.4232, allocations: 17.41 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.4232, allocations: 4 kB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4232, allocations: 96 / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4232, allocations: 7.922 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007772/0.424, allocations: 466.2 kB / 1.341 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.424, allocations: 0 / 1.341 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.424, allocations: 8 kB / 1.341 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.575e-05/0.4241, allocations: 28.83 kB / 1.341 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4241, allocations: 4.062 kB / 1.341 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.4256, allocations: 1.322 MB / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4256, allocations: 0 / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.426, allocations: 240.3 kB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.426, allocations: 27.83 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.426, allocations: 0 / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.4262, allocations: 7.984 kB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.4262, allocations: 11.98 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.4262, allocations: 0 / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001579/0.4264, allocations: 160.2 kB / 1.342 GB, free: 1.223 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4264, allocations: 0 / 1.342 GB, free: 1.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003471/0.4267, allocations: 59.83 kB / 1.342 GB, free: 1.164 MB / 1.029 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.0001309/0.4269, allocations: 95.23 kB / 1.342 GB, free: 1.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.4273, allocations: 230.9 kB / 1.343 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4273, allocations: 0 / 1.343 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.4275, allocations: 163.1 kB / 1.343 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4279, allocations: 37.06 kB / 1.343 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/0.4287, allocations: 450.3 kB / 1.343 GB, free: 148 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.4293, allocations: 0.7515 MB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.4293, allocations: 19.44 kB / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4293, allocations: 4 kB / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of Templates: time 0.006024/0.4353, allocations: 3.276 MB / 1.347 GB, free: 12.08 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.592993108992232]