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.001686/0.001686, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002109/0.002109, allocations: 218 kB / 23.04 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.09/3.09, allocations: 0.49 GB / 0.7959 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",version="2.0",platforms={"static"}) [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.001959/0.001959, allocations: 62.94 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3553, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005075/0.3603, allocations: 3.344 MB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.363, allocations: 1.504 MB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3632, allocations: 7.938 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3642, allocations: 346.6 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.3646, allocations: 155.2 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.365, allocations: 166.8 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.3654, allocations: 326.9 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.3658, allocations: 208 kB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.3661, allocations: 143.5 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.3664, allocations: 163.4 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.3664, allocations: 20 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.3668, allocations: 179.6 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3669, allocations: 83.73 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.367, allocations: 123.4 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.3675, allocations: 366.6 kB / 1.334 GB, free: 10.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3675, allocations: 0 / 1.334 GB, free: 10.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3675, allocations: 4 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.3675, allocations: 0 / 1.334 GB, free: 10.82 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.0009594/0.3685, allocations: 481.3 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3685, allocations: 16.03 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.857e-05/0.3685, allocations: 4.625 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.3686, allocations: 58.72 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000679/0.3693, allocations: 96.66 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.3696, allocations: 198.8 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3696, allocations: 16.8 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.3697, allocations: 16.38 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.3703, allocations: 316.3 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3703, allocations: 7.922 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.3703, allocations: 8 kB / 1.335 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.3704, allocations: 24.42 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.3707, allocations: 205.6 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.3725, allocations: 1.459 MB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.3729, allocations: 130.5 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.373, allocations: 40.83 kB / 1.337 GB, free: 7.516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.373, allocations: 0 / 1.337 GB, free: 7.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.373, allocations: 34.56 kB / 1.337 GB, free: 7.473 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.373, allocations: 0 / 1.337 GB, free: 7.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005878/0.3736, allocations: 202.3 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3737, allocations: 51.41 kB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.3739, allocations: 210.9 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.374, allocations: 29.7 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3741, allocations: 176 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3741, allocations: 31.73 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.3742, allocations: 37.66 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3743, allocations: 334.8 kB / 1.338 GB, free: 6.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.3744, allocations: 43.97 kB / 1.338 GB, free: 6.324 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.3746, allocations: 109.9 kB / 1.338 GB, free: 6.188 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.3749, allocations: 172.4 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3749, allocations: 0 / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003968/0.3753, allocations: 206.1 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3753, allocations: 8.281 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3753, allocations: 8 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.3755, allocations: 32.77 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3756, allocations: 27.98 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.3769, allocations: 1.33 MB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.377, allocations: 19.88 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.377, allocations: 8 kB / 1.339 GB, free: 4.23 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.0001796/0.3772, allocations: 154.4 kB / 1.34 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.3772, allocations: 19.84 kB / 1.34 GB, free: 4.051 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.3773, allocations: 21.39 kB / 1.34 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3773, allocations: 0 / 1.34 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3773, allocations: 4 kB / 1.34 GB, free: 4.023 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3773, allocations: 0 / 1.34 GB, free: 4.023 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.378, allocations: 458.2 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.378, allocations: 4 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.3781, allocations: 15.98 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.03e-05/0.3781, allocations: 24.78 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3781, allocations: 7.938 kB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.3792, allocations: 1.31 MB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3792, allocations: 0 / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.3796, allocations: 248.3 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.3797, allocations: 27.83 kB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.3797, allocations: 0 / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3799, allocations: 12 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.3799, allocations: 7.984 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3799, allocations: 3.938 kB / 1.342 GB, free: 1.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001626/0.3801, allocations: 152.2 kB / 1.342 GB, free: 1.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3801, allocations: 4 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004113/0.3805, allocations: 55.89 kB / 1.342 GB, free: 1.523 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.0006689/0.3812, allocations: 0.7639 MB / 1.343 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.3817, allocations: 234.4 kB / 1.343 GB, free: 496 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3817, allocations: 0 / 1.343 GB, free: 496 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.3819, allocations: 158.6 kB / 1.343 GB, free: 324 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3823, allocations: 45.17 kB / 1.343 GB, free: 280 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.3855, allocations: 2.157 MB / 1.345 GB, free: 13.97 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.3859, allocations: 0.7593 MB / 1.346 GB, free: 13.19 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.386, allocations: 33.44 kB / 1.346 GB, free: 13.15 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/0.3861, allocations: 59.42 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of SimCode: time 1.263e-06/0.3861, allocations: 0 / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.4148, allocations: 4.237 MB / 1.35 GB, free: 9.031 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 8.938 kB / 1.35 GB, free: 9.027 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] 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: 18.662025759986136]