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.001548/0.001548, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001901/0.001901, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.809 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.28/3.28, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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.002742/0.002742, allocations: 76.17 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4077, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002208/0.4099, allocations: 0.8613 MB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.4112, allocations: 0.9095 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.4113, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.4113, allocations: 11.88 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.729e-05/0.4114, allocations: 11.81 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.4116, allocations: 63.91 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.4119, allocations: 139.7 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.4121, allocations: 44.19 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.338e-05/0.4122, allocations: 55.78 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.4123, allocations: 63.69 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.4123, allocations: 12 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.646e-05/0.4123, allocations: 12 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.4124, allocations: 35.84 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.597e-05/0.4125, allocations: 47.8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.4127, allocations: 147.6 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4127, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4127, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.4127, allocations: 0 / 1.328 GB, free: 15.04 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.0007214/0.4134, allocations: 369.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4135, allocations: 12.03 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.4135, allocations: 46.73 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.4136, allocations: 20.84 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.4139, allocations: 151.2 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4139, allocations: 8.375 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.4139, allocations: 12.38 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.4143, allocations: 239.7 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4143, allocations: 3.938 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4143, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4144, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.4147, allocations: 127.9 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.4155, allocations: 439.3 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.4157, allocations: 86.34 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4158, allocations: 44.83 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.4158, allocations: 8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.4158, allocations: 30.56 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.4158, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004824/0.4163, allocations: 157.7 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.4164, allocations: 55.41 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4166, allocations: 195.6 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.4166, allocations: 25.7 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.4167, allocations: 120 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.4167, allocations: 39.69 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.4168, allocations: 25.72 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4169, allocations: 322.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4171, allocations: 39.97 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4172, allocations: 43.97 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.4174, allocations: 105.6 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4174, allocations: 3.938 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000322/0.4178, allocations: 141.6 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4178, allocations: 7.984 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4178, allocations: 8 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4178, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.418, allocations: 27.92 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.418, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4181, allocations: 23.88 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.4181, allocations: 0 / 1.331 GB, free: 11.94 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.0001117/0.4182, allocations: 129.8 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.4182, allocations: 11.91 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.4186, allocations: 139.3 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4186, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4186, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4186, allocations: 96 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.4192, allocations: 419.9 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4192, allocations: 3.984 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.4193, allocations: 19.98 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.4194, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4194, allocations: 7.938 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4194, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4194, allocations: 4 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.4197, allocations: 241.9 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.4198, allocations: 27.95 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.4198, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.4199, allocations: 15.97 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.42, allocations: 19.86 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.42, allocations: 4 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001233/0.4201, allocations: 140.1 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4201, allocations: 0 / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002501/0.4203, allocations: 24 kB / 1.332 GB, free: 10.64 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.0006909/0.421, allocations: 0.7812 MB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.4213, allocations: 87.89 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4213, allocations: 0 / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.4215, allocations: 47.91 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.4218, allocations: 20.12 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.4241, allocations: 1.881 MB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.4242, allocations: 106.6 kB / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.339e-05/0.4242, allocations: 17.02 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.4243, allocations: 43.42 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4243, allocations: 0 / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.4559, allocations: 3.444 MB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.72, allocations: 15.22 kB / 1.339 GB, free: 4.203 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.888250126998173]