Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001773/0.001773, allocations: 107.8 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.002105/0.002105, 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.625/1.625, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 443.5 MB / 0.7287 GB, free: 13.41 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 72.08 kB / 1.056 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8213/0.8235, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002119/0.8256, allocations: 0.6716 MB / 1.214 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.8268, allocations: 0.8049 MB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.8268, allocations: 1.125 kB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.8269, allocations: 3.938 kB / 1.214 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.8269, allocations: 5.094 kB / 1.214 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.8271, allocations: 2.188 kB / 1.214 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.8272, allocations: 28.55 kB / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.8273, allocations: 6.031 kB / 1.214 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.8273, allocations: 12.08 kB / 1.214 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.8274, allocations: 18.12 kB / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.8274, allocations: 2.094 kB / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.8274, allocations: 2.281 kB / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.8274, allocations: 5 kB / 1.214 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.8274, allocations: 5.844 kB / 1.214 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.962e-05/0.8275, allocations: 25.92 kB / 1.215 GB, free: 2.637 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.8275, allocations: 5.125 kB / 1.215 GB, free: 2.633 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8275, allocations: 0 / 1.215 GB, free: 2.633 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.8276, allocations: 0 / 1.215 GB, free: 2.633 MB / 0.92 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.0005401/0.8281, allocations: 336.6 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.8281, allocations: 10.28 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.8282, allocations: 39.92 kB / 1.215 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.8282, allocations: 5.969 kB / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.8284, allocations: 169.3 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.8284, allocations: 1.125 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.8284, allocations: 1.875 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.8286, allocations: 50.02 kB / 1.215 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8286, allocations: 3.938 kB / 1.215 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.8286, allocations: 4 kB / 1.215 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.8286, allocations: 0.875 kB / 1.215 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.8288, allocations: 37.95 kB / 1.215 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.8291, allocations: 245.2 kB / 1.215 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.8293, allocations: 43.31 kB / 1.215 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.8294, allocations: 29.33 kB / 1.215 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.8294, allocations: 8.891 kB / 1.215 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.8294, allocations: 31.56 kB / 1.216 GB, free: 1.551 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.8294, allocations: 3.938 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003403/0.8298, allocations: 81.05 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.8298, allocations: 55.41 kB / 1.216 GB, free: 1.426 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.8299, allocations: 95.23 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.8299, allocations: 26.77 kB / 1.216 GB, free: 1.297 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.83, allocations: 89.28 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.83, allocations: 7.938 kB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.83, allocations: 11.97 kB / 1.216 GB, free: 1.184 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8302, allocations: 316.6 kB / 1.216 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.8303, allocations: 17.42 kB / 1.216 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.8303, allocations: 16.52 kB / 1.216 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.8305, allocations: 44.12 kB / 1.216 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8305, allocations: 3.938 kB / 1.216 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.8307, allocations: 72.95 kB / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.8307, allocations: 5.25 kB / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8307, allocations: 0 / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8307, allocations: 0 / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.8308, allocations: 6.188 kB / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.8308, allocations: 5.047 kB / 1.216 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.8308, allocations: 3.219 kB / 1.216 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.8308, allocations: 1.281 kB / 1.216 GB, free: 0.7617 MB / 0.92 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.848e-05/0.8309, allocations: 115.1 kB / 1.216 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.831, allocations: 5.156 kB / 1.216 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.8312, allocations: 75.17 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8312, allocations: 0 / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.8312, allocations: 0 / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.8312, allocations: 1.125 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.8314, allocations: 158.3 kB / 1.217 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8314, allocations: 3.938 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.8314, allocations: 13.42 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.8315, allocations: 1.062 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.8315, allocations: 0 / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8315, allocations: 1.125 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8315, allocations: 0 / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.8317, allocations: 170.7 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.8318, allocations: 86.03 kB / 1.217 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.8318, allocations: 1.062 kB / 1.217 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.8319, allocations: 7.828 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.8319, allocations: 1.438 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.8319, allocations: 5.25 kB / 1.217 GB, free: 96 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.832, allocations: 85.86 kB / 1.217 GB, free: 12 kB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.832, allocations: 0 / 1.217 GB, free: 12 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002108/0.8322, allocations: 3.375 kB / 1.217 GB, free: 12 kB / 0.92 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.000671/0.8328, allocations: 0.6964 MB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.833, allocations: 36.38 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.833, allocations: 4.094 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.8331, allocations: 23.56 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.8335, allocations: 2.156 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.834, allocations: 144.8 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.8343, allocations: 0.6772 MB / 1.219 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.8344, allocations: 5.031 kB / 1.219 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.8344, allocations: 12.56 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.8344, allocations: 0 / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.8645, allocations: 1.278 MB / 1.22 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.819, allocations: 12.89 kB / 1.22 GB, free: 13.69 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.73886501789093]