Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.726/2.726, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.89 kB / 1.104 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7901, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002156/0.7922, allocations: 0.6574 MB / 1.269 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.7934, allocations: 0.8078 MB / 1.27 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.7934, allocations: 0 / 1.27 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.7934, allocations: 0 / 1.27 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.7935, allocations: 11.92 kB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.7937, allocations: 8 kB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.7937, allocations: 23.92 kB / 1.27 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.7939, allocations: 4 kB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.7939, allocations: 15.92 kB / 1.27 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.611e-05/0.794, allocations: 4 kB / 1.27 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.794, allocations: 4 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.794, allocations: 0 / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.794, allocations: 11.97 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.7941, allocations: 7.938 kB / 1.27 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.572e-05/0.7941, allocations: 21.73 kB / 1.27 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7941, allocations: 0 / 1.27 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7941, allocations: 4 kB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7942, allocations: 0 / 1.27 GB, free: 3.566 MB / 0.9669 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.0004671/0.7946, allocations: 339.5 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7947, allocations: 8.031 kB / 1.271 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.7947, allocations: 30.75 kB / 1.271 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.7947, allocations: 12.89 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.7949, allocations: 168.3 kB / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.7949, allocations: 4.312 kB / 1.271 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.7949, allocations: 4.375 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.7951, allocations: 50.23 kB / 1.271 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7951, allocations: 3.938 kB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.7951, allocations: 4 kB / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.7951, allocations: 0 / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.7953, allocations: 27.97 kB / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.7956, allocations: 249 kB / 1.271 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.7958, allocations: 50.42 kB / 1.271 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.943e-05/0.7959, allocations: 20.91 kB / 1.271 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.7959, allocations: 3.938 kB / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.7959, allocations: 38.55 kB / 1.271 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7959, allocations: 0 / 1.271 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003487/0.7963, allocations: 77.66 kB / 1.271 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.7963, allocations: 55.34 kB / 1.271 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.7964, allocations: 101.8 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.7965, allocations: 25.7 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.7965, allocations: 88.09 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.7965, allocations: 7.953 kB / 1.272 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.7966, allocations: 21.83 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.7967, allocations: 314.8 kB / 1.272 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.7968, allocations: 19.98 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.7969, allocations: 11.98 kB / 1.272 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.797, allocations: 44.88 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.797, allocations: 3.938 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.7972, allocations: 65.67 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7972, allocations: 7.938 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7972, allocations: 0 / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7973, allocations: 3.984 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.7973, allocations: 8 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.7973, allocations: 0 / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.7974, allocations: 12.02 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.7974, allocations: 0 / 1.272 GB, free: 1.484 MB / 0.9669 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 9.855e-05/0.7975, allocations: 113.8 kB / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.7975, allocations: 0 / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.7978, allocations: 68.78 kB / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7978, allocations: 0 / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7978, allocations: 4 kB / 1.272 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.7978, allocations: 8.016 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.798, allocations: 157.6 kB / 1.272 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.798, allocations: 0 / 1.272 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.798, allocations: 11.92 kB / 1.272 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.798, allocations: 4 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.798, allocations: 0 / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.798, allocations: 0 / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.798, allocations: 0 / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.7983, allocations: 175.3 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.7983, allocations: 77.11 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.7983, allocations: 0 / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.7984, allocations: 7.984 kB / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.7985, allocations: 0 / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.7985, allocations: 4 kB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.7985, allocations: 83.28 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.7985, allocations: 4.031 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002131/0.7988, allocations: 0 / 1.273 GB, free: 0.6797 MB / 0.9669 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.0006938/0.7995, allocations: 0.7012 MB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.7997, allocations: 36 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7997, allocations: 0 / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.7997, allocations: 23.91 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.8001, allocations: 18.11 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.8006, allocations: 139.2 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.801, allocations: 0.6807 MB / 1.274 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.801, allocations: 0 / 1.274 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.801, allocations: 11.44 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.801, allocations: 0 / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.8257, allocations: 1.272 MB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.997, allocations: 15.27 kB / 1.276 GB, free: 13.78 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.026417369954288]