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.001772/0.001772, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002181/0.002181, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.816 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.358/3.358, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.002098/0.002098, allocations: 66.44 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002123/0.3365, allocations: 0.8455 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3377, allocations: 0.9211 MB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.3378, allocations: 3.938 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.3378, allocations: 11.86 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/0.3379, allocations: 7.875 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.3381, allocations: 67.86 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.3383, allocations: 139.8 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.3385, allocations: 37.67 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.3386, allocations: 51.78 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.3386, allocations: 55.69 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.3387, allocations: 15.98 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.3387, allocations: 23.88 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.3387, allocations: 31.91 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.3388, allocations: 43.73 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.339, allocations: 143.6 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.339, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.339, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.339, allocations: 4 kB / 1.327 GB, free: 15.96 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.0006119/0.3396, allocations: 373.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3396, allocations: 8.031 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.594e-05/0.3397, allocations: 50.73 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.3397, allocations: 16.84 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.34, allocations: 146.3 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.34, allocations: 16.38 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.34, allocations: 12.38 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.3404, allocations: 231.7 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3404, allocations: 3.938 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3404, allocations: 8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3404, allocations: 4 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.3407, allocations: 123.9 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.3415, allocations: 435.4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3417, allocations: 90.41 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3418, allocations: 36.84 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3419, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3419, allocations: 42.55 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.3419, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004895/0.3424, allocations: 157.7 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3424, allocations: 55.39 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3426, allocations: 191.6 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3426, allocations: 29.7 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.3427, allocations: 116 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3428, allocations: 40.06 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.3428, allocations: 25.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.343, allocations: 326.8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3431, allocations: 47.97 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3432, allocations: 43.91 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3435, allocations: 96.64 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3435, allocations: 7.875 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003282/0.3438, allocations: 145.5 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3438, allocations: 4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3438, allocations: 0 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3438, allocations: 4 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.344, allocations: 31.97 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.344, allocations: 3.938 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3441, allocations: 19.88 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3441, allocations: 4 kB / 1.33 GB, free: 12.86 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.0001048/0.3442, allocations: 121.8 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.3442, allocations: 15.91 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.3446, allocations: 143 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3446, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3446, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3446, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.3452, allocations: 412 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3452, allocations: 3.938 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3453, allocations: 23.98 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3453, allocations: 4.094 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3454, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/0.3454, allocations: 4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3454, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.3457, allocations: 245.9 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.3458, allocations: 19.89 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.3458, allocations: 0 / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3459, allocations: 19.98 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.346, allocations: 15.92 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.346, allocations: 7.938 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001267/0.3461, allocations: 144.3 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3461, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002452/0.3464, allocations: 23.94 kB / 1.331 GB, free: 11.57 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.000684/0.347, allocations: 0.7734 MB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.3473, allocations: 95.88 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3473, allocations: 4 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3475, allocations: 43.91 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3478, allocations: 22.44 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.3502, allocations: 1.888 MB / 1.334 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.717e-05/0.3503, allocations: 94.58 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.506e-05/0.3503, allocations: 13.08 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.3504, allocations: 43.42 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3504, allocations: 0 / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.38, allocations: 3.413 MB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 6.156 kB / 1.338 GB, free: 5.18 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: 19.128287204075605]