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.00177/0.00177, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.002004/0.002004, allocations: 186 kB / 20.78 MB, free: 1.539 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.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.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.737/2.737, allocations: 476.7 MB / 0.7629 GB, free: 15.21 MB / 0.6075 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.002284/0.002284, allocations: 75.88 kB / 1.107 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9369/0.9392, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001943/0.9411, allocations: 0.675 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.9421, allocations: 0.8109 MB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.9421, allocations: 1.031 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.9421, allocations: 0 / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.767e-05/0.9422, allocations: 8.969 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.9424, allocations: 8.094 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.9424, allocations: 20.45 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.9425, allocations: 11.69 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.9426, allocations: 8.859 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.9427, allocations: 9.906 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.9427, allocations: 1.531 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.9427, allocations: 2.531 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.9427, allocations: 5.859 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.9427, allocations: 11.02 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.9428, allocations: 22.64 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9428, allocations: 4.938 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9428, allocations: 0 / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.9428, allocations: 0 / 1.273 GB, free: 6.594 MB / 0.9981 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.0003714/0.9432, allocations: 332.6 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9433, allocations: 14.73 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.588e-05/0.9433, allocations: 31.38 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.9433, allocations: 6.297 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.9434, allocations: 167.5 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.9434, allocations: 5.25 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.9434, allocations: 6.031 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.9436, allocations: 48.56 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9436, allocations: 3.938 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.9436, allocations: 1.578 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.9436, allocations: 0 / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.9438, allocations: 33.22 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.944, allocations: 250.5 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.9441, allocations: 43.81 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.9442, allocations: 23.34 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.9443, allocations: 0.8125 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.9443, allocations: 36.12 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9443, allocations: 3.938 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.9446, allocations: 86.16 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.9447, allocations: 52.25 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.822e-05/0.9447, allocations: 99.23 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.9447, allocations: 25.7 kB / 1.274 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.9447, allocations: 86.34 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.9447, allocations: 9.047 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.9448, allocations: 13.06 kB / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.9448, allocations: 316.7 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.9449, allocations: 14.72 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.1e-05/0.945, allocations: 18.2 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.9451, allocations: 41.86 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9451, allocations: 4.812 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.9453, allocations: 63.17 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.9453, allocations: 4.719 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.9453, allocations: 0.875 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9454, allocations: 3.938 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.9455, allocations: 10.61 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.9455, allocations: 4.969 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.9455, allocations: 4.875 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.9455, allocations: 0 / 1.275 GB, free: 4.84 MB / 0.9981 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.693e-05/0.9456, allocations: 118.3 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.9456, allocations: 0.9688 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.9458, allocations: 68.08 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9458, allocations: 4.812 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9458, allocations: 0.75 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9458, allocations: 4.125 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.9459, allocations: 159.8 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9459, allocations: 4.844 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.946, allocations: 17.14 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.946, allocations: 0.875 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.946, allocations: 0.8125 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.946, allocations: 0 / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.946, allocations: 0.8125 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.9462, allocations: 171.4 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.9462, allocations: 78.02 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.9462, allocations: 4.875 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.9463, allocations: 6.031 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.9463, allocations: 9.125 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.9463, allocations: 5.062 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.925e-05/0.9463, allocations: 78.19 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9463, allocations: 0.7812 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000248/0.9466, allocations: 3.781 kB / 1.276 GB, free: 4.137 MB / 0.9981 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.0004158/0.947, allocations: 0.699 MB / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.9472, allocations: 36.53 kB / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9472, allocations: 0 / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.9473, allocations: 19.88 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.9476, allocations: 10.59 kB / 1.276 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.948, allocations: 155.2 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.602e-05/0.948, allocations: 0.6756 MB / 1.277 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.046e-05/0.9481, allocations: 1.672 kB / 1.277 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.9481, allocations: 13.31 kB / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.9481, allocations: 0 / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.9705, allocations: 1.253 MB / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.951, allocations: 10.53 kB / 1.278 GB, free: 18.23 MB / 1.014 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 --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: 14.910944377013948]