Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001884/0.001884, allocations: 111 kB / 16.46 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.002021/0.002021, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.448/1.448, 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.71/2.71, allocations: 476.7 MB / 0.7611 GB, free: 11.36 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.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8206, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001974/0.8226, allocations: 0.6757 MB / 1.269 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.8237, allocations: 0.8117 MB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.8237, allocations: 0 / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.8237, allocations: 0 / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.8238, allocations: 7.938 kB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.8239, allocations: 15.97 kB / 1.27 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.824, allocations: 19.94 kB / 1.27 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.8241, allocations: 7.984 kB / 1.27 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.8241, allocations: 7.938 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.8242, allocations: 11.98 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.8242, allocations: 4 kB / 1.27 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-06/0.8242, allocations: 0 / 1.27 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.8242, allocations: 0 / 1.27 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.8243, allocations: 11.94 kB / 1.27 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.1e-05/0.8243, allocations: 33.7 kB / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8243, allocations: 0 / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8243, allocations: 0 / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.8244, allocations: 0 / 1.27 GB, free: 3.551 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.0004906/0.8248, allocations: 339.5 kB / 1.271 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.8249, allocations: 8.031 kB / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.8249, allocations: 30.75 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.8249, allocations: 4.891 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.8251, allocations: 176.3 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.8251, allocations: 4.375 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.8251, allocations: 384 / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.8253, allocations: 50.23 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8253, allocations: 3.938 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.8253, allocations: 4 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.8253, allocations: 0 / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.8255, allocations: 35.95 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.8258, allocations: 245 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.826, allocations: 46.44 kB / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.8261, allocations: 20.89 kB / 1.271 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.8261, allocations: 4 kB / 1.271 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.8261, allocations: 42.5 kB / 1.271 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8261, allocations: 0 / 1.271 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.8264, allocations: 81.58 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.8265, allocations: 51.41 kB / 1.271 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.8266, allocations: 97.86 kB / 1.272 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.8266, allocations: 29.64 kB / 1.272 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.8266, allocations: 88.2 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.8267, allocations: 15.95 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.8267, allocations: 9.719 kB / 1.272 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8268, allocations: 314.8 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.647e-05/0.8269, allocations: 15.98 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.827, allocations: 15.97 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.8272, allocations: 40.89 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8272, allocations: 3.938 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.8273, allocations: 73.59 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8274, allocations: 4 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8274, allocations: 0 / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8274, allocations: 0 / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.8275, allocations: 11.98 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8275, allocations: 4.031 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.8275, allocations: 4 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.8275, allocations: 0 / 1.272 GB, free: 1.477 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 8.534e-05/0.8276, allocations: 113.8 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.8276, allocations: 4.188 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.8279, allocations: 72.77 kB / 1.272 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8279, allocations: 7.969 kB / 1.272 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.8279, allocations: 0 / 1.272 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8279, allocations: 0 / 1.272 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.8281, allocations: 157.6 kB / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8281, allocations: 4 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.8281, allocations: 7.984 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8281, allocations: 0 / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.8281, allocations: 0 / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8281, allocations: 0 / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8281, allocations: 4 kB / 1.273 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.8284, allocations: 167.4 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.8284, allocations: 85.05 kB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.8284, allocations: 3.984 kB / 1.273 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.8285, allocations: 8 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.8286, allocations: 0 / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.8286, allocations: 3.984 kB / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.8286, allocations: 87.31 kB / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.8286, allocations: 3.938 kB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002128/0.8288, allocations: 4 kB / 1.273 GB, free: 0.6562 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.0006469/0.8295, allocations: 0.6974 MB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.8297, allocations: 39.84 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8297, allocations: 0 / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.8298, allocations: 19.92 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.8301, allocations: 4 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.8305, allocations: 147.7 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.8308, allocations: 0.6807 MB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.8309, allocations: 0 / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.8309, allocations: 7.438 kB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8309, allocations: 0 / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.8538, allocations: 1.282 MB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.871, allocations: 1.953 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.788291198667139]