Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001541/0.001541, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001775/0.001775, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.592/1.592, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.122/3.122, allocations: 0.5003 GB / 0.8026 GB, free: 6.789 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.002358/0.002358, allocations: 67.91 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.11, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002243/1.112, allocations: 0.6763 MB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001234/1.113, allocations: 0.8474 MB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/1.113, allocations: 0.9688 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/1.113, allocations: 3.938 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.028e-05/1.113, allocations: 5.844 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/1.113, allocations: 16.53 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/1.113, allocations: 25.06 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/1.114, allocations: 3.828 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/1.114, allocations: 12.62 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/1.114, allocations: 14.48 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/1.114, allocations: 1.531 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/1.114, allocations: 8.875 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/1.114, allocations: 0.6094 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/1.114, allocations: 11.48 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/1.114, allocations: 24.44 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.114, allocations: 5.031 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/1.114, allocations: 3.938 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.114, allocations: 0 / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004381/1.114, allocations: 337.3 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.114, allocations: 10.67 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.69e-05/1.114, allocations: 5.281 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.073e-05/1.114, allocations: 30.75 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/1.114, allocations: 7.719 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/1.115, allocations: 168.3 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/1.115, allocations: 4.969 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/1.115, allocations: 1.344 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/1.115, allocations: 56.91 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/1.115, allocations: 0.5625 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/1.115, allocations: 0 / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/1.115, allocations: 1.031 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/1.115, allocations: 36.27 kB / 1.342 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/1.115, allocations: 251.4 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/1.115, allocations: 36.08 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/1.115, allocations: 26.78 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/1.116, allocations: 1.188 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/1.116, allocations: 36.28 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.116, allocations: 0 / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003739/1.116, allocations: 79.48 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/1.116, allocations: 53.33 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/1.116, allocations: 100.5 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/1.116, allocations: 31.2 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/1.116, allocations: 88.92 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/1.116, allocations: 5.172 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/1.116, allocations: 12.98 kB / 1.343 GB, free: 13.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/1.116, allocations: 317.9 kB / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/1.116, allocations: 17.33 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/1.116, allocations: 17.72 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/1.116, allocations: 46.72 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.116, allocations: 0 / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/1.117, allocations: 67.03 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.117, allocations: 4.969 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.117, allocations: 3.938 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/1.117, allocations: 5.406 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/1.117, allocations: 8.562 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.117, allocations: 1.25 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/1.117, allocations: 10.03 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/1.117, allocations: 0.75 kB / 1.344 GB, free: 13.37 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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 4.88e-05/1.117, allocations: 117 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/1.117, allocations: 1.25 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/1.117, allocations: 70.59 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.117, allocations: 1.062 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.117, allocations: 0.6094 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/1.117, allocations: 0 / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/1.117, allocations: 159.8 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.117, allocations: 0 / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/1.117, allocations: 10.61 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.117, allocations: 3.938 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/1.117, allocations: 0 / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.117, allocations: 5.406 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.117, allocations: 0 / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/1.118, allocations: 167.3 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/1.118, allocations: 87.34 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/1.118, allocations: 0.5625 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/1.118, allocations: 6.141 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/1.118, allocations: 6.578 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/1.118, allocations: 8.812 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.236e-05/1.118, allocations: 79.81 kB / 1.344 GB, free: 12.67 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.118, allocations: 0 / 1.344 GB, free: 12.67 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002258/1.118, allocations: 3.969 kB / 1.344 GB, free: 12.67 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0004187/1.118, allocations: 0.6993 MB / 1.345 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000229/1.119, allocations: 35.02 kB / 1.345 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.119, allocations: 0 / 1.345 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/1.119, allocations: 20.41 kB / 1.345 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.119, allocations: 6.969 kB / 1.345 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/1.119, allocations: 135.2 kB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/1.12, allocations: 0.6757 MB / 1.346 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.038e-05/1.12, allocations: 0.5156 kB / 1.346 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/1.12, allocations: 17.38 kB / 1.346 GB, free: 11.12 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.12, allocations: 1.062 kB / 1.346 GB, free: 11.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/1.137, allocations: 1.314 MB / 1.347 GB, free: 10.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/9.456, allocations: 18.56 kB / 1.347 GB, free: 10.73 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 16.44177154195495]