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.001614/0.001614, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001547/0.001547, allocations: 216.1 kB / 22.24 MB, free: 5.258 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.785 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.159/3.159, allocations: 0.49 GB / 0.7951 GB, free: 35.47 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",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.001999/0.001999, allocations: 64.8 kB / 1.154 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 176.1 MB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005115/0.3366, allocations: 3.198 MB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.3391, allocations: 1.391 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.3392, allocations: 11.94 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.3402, allocations: 335.6 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.3406, allocations: 155.2 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.341, allocations: 165.9 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.3414, allocations: 330.9 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.3418, allocations: 204 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.3421, allocations: 147.5 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.3423, allocations: 159.4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.3424, allocations: 20 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.3426, allocations: 159.6 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.3427, allocations: 79.8 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3428, allocations: 111.5 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.3433, allocations: 362.6 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3433, allocations: 0 / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3433, allocations: 3.938 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3433, allocations: 0 / 1.332 GB, free: 10.59 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.0008382/0.3442, allocations: 481.4 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3442, allocations: 12.03 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.3443, allocations: 58.73 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006118/0.3449, allocations: 96.66 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.3452, allocations: 199.8 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3452, allocations: 16.75 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.3453, allocations: 20.38 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.3458, allocations: 385.6 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3458, allocations: 4 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.3458, allocations: 19.92 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.3459, allocations: 16.42 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.3462, allocations: 209.6 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.3477, allocations: 1.065 MB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.3481, allocations: 122.6 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.3481, allocations: 36.84 kB / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.3482, allocations: 3.938 kB / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3482, allocations: 42.53 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.3482, allocations: 0 / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000523/0.3487, allocations: 194.2 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3488, allocations: 51.41 kB / 1.335 GB, free: 7.367 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.349, allocations: 222.8 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.349, allocations: 29.64 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3491, allocations: 176 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3492, allocations: 31.73 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.3492, allocations: 37.72 kB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3494, allocations: 322.8 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3495, allocations: 47.97 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3496, allocations: 117.7 kB / 1.336 GB, free: 6.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.3499, allocations: 160.4 kB / 1.336 GB, free: 6.152 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3499, allocations: 8 kB / 1.336 GB, free: 6.145 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003733/0.3502, allocations: 206.1 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3503, allocations: 8 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3503, allocations: 0 / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.3504, allocations: 41 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3505, allocations: 27.98 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3517, allocations: 1.314 MB / 1.338 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3518, allocations: 19.84 kB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3518, allocations: 11.98 kB / 1.338 GB, free: 4.398 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.0001507/0.352, allocations: 156.8 kB / 1.338 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.352, allocations: 15.91 kB / 1.338 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.3521, allocations: 21.45 kB / 1.338 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3521, allocations: 8 kB / 1.338 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.3521, allocations: 0 / 1.338 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3521, allocations: 96 / 1.338 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.3527, allocations: 454.2 kB / 1.339 GB, free: 3.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3527, allocations: 0 / 1.339 GB, free: 3.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.3528, allocations: 8 kB / 1.339 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.441e-05/0.3529, allocations: 28.84 kB / 1.339 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3529, allocations: 3.984 kB / 1.339 GB, free: 3.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.3539, allocations: 1.314 MB / 1.34 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3539, allocations: 0 / 1.34 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.3543, allocations: 248.3 kB / 1.34 GB, free: 1.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.3543, allocations: 23.89 kB / 1.34 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3543, allocations: 0 / 1.34 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3545, allocations: 7.984 kB / 1.34 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.3545, allocations: 7.984 kB / 1.34 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.3545, allocations: 11.94 kB / 1.34 GB, free: 1.906 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001355/0.3546, allocations: 152.3 kB / 1.34 GB, free: 1.758 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3546, allocations: 0 / 1.34 GB, free: 1.758 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003363/0.355, allocations: 59.84 kB / 1.341 GB, free: 1.699 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.0006046/0.3556, allocations: 0.7639 MB / 1.341 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.356, allocations: 222.5 kB / 1.341 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.356, allocations: 0 / 1.341 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.3562, allocations: 159.2 kB / 1.342 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3566, allocations: 47.52 kB / 1.342 GB, free: 472 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.3591, allocations: 2.169 MB / 1.344 GB, free: 14.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.3593, allocations: 144.2 kB / 1.344 GB, free: 13.99 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.938e-05/0.3594, allocations: 29.47 kB / 1.344 GB, free: 13.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.452e-05/0.3595, allocations: 59.41 kB / 1.344 GB, free: 13.91 MB / 1.045 GB Notification: Performance of SimCode: time 7.12e-07/0.3595, allocations: 4 kB / 1.344 GB, free: 13.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.3934, allocations: 4.762 MB / 1.349 GB, free: 9.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 6.188 kB / 1.349 GB, free: 9.316 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable sen.V in file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.V from file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! Error: Could not read variable sen.I in file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.562218873994425]