Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001743/0.001743, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002094/0.002094, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.992 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.32/3.32, allocations: 0.49 GB / 0.7951 GB, free: 33.33 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.002146/0.002146, allocations: 78.58 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3755, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002152/0.3776, allocations: 0.8987 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3789, allocations: 0.925 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.379, allocations: 7.938 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.3791, allocations: 11.81 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.3791, allocations: 11.86 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.3794, allocations: 63.98 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.3796, allocations: 139.7 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3797, allocations: 45.56 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.3798, allocations: 55.78 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.3799, allocations: 67.62 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.38, allocations: 12 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.38, allocations: 12 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.479e-05/0.38, allocations: 27.92 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.3801, allocations: 63.64 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3803, allocations: 143.6 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3803, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3803, allocations: 7.938 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.3803, allocations: 0 / 1.328 GB, free: 15.42 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006576/0.3809, allocations: 365.8 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.381, allocations: 12.02 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.048e-05/0.3811, allocations: 42.75 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.3811, allocations: 16.84 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3814, allocations: 158.3 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3814, allocations: 12.38 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3814, allocations: 12.38 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.3818, allocations: 154.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3818, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.3818, allocations: 11.98 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3818, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.3822, allocations: 131.9 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.383, allocations: 455.3 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3832, allocations: 86.42 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3834, allocations: 44.83 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3834, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3834, allocations: 38.56 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3834, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0005035/0.3839, allocations: 157.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.384, allocations: 51.41 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.3842, allocations: 195.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3842, allocations: 30.08 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.3843, allocations: 123.9 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3844, allocations: 35.69 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.3844, allocations: 25.7 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3846, allocations: 334.7 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3847, allocations: 35.98 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3848, allocations: 43.97 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.3851, allocations: 98.56 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3851, allocations: 3.938 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003331/0.3854, allocations: 146.9 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3855, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3855, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3855, allocations: 8 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3857, allocations: 31.92 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3857, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3858, allocations: 15.88 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3858, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.3859, allocations: 121.8 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.3859, allocations: 15.91 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.3863, allocations: 143 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3863, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3863, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3863, allocations: 3.984 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.387, allocations: 424 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.387, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3871, allocations: 19.98 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3871, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3871, allocations: 11.98 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3871, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3871, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.3875, allocations: 253.8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.3875, allocations: 19.84 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3875, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3877, allocations: 11.98 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.3877, allocations: 12.11 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3877, allocations: 12 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001243/0.3878, allocations: 148 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3878, allocations: 3.938 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002508/0.3881, allocations: 24 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007047/0.3888, allocations: 0.7734 MB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3891, allocations: 91.88 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3891, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.3893, allocations: 51.91 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3896, allocations: 15.94 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.392, allocations: 1.877 MB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3924, allocations: 0.7238 MB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.616e-05/0.3925, allocations: 13.08 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.3925, allocations: 43.42 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of SimCode: time 4.7e-07/0.3925, allocations: 0 / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.4235, allocations: 2.977 MB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.53, allocations: 7.297 kB / 1.339 GB, free: 4.484 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_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_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable line1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv. Warning: Get data of variable line1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.64444717099832]