Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001302/0.001302, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001815/0.001815, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.368/3.368, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Cos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",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.002044/0.002044, allocations: 61.66 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001952/0.374, allocations: 0.6743 MB / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3751, allocations: 0.8475 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.3752, allocations: 4 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.3752, allocations: 3.938 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.3753, allocations: 3.938 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.3755, allocations: 12 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.931e-05/0.3755, allocations: 23.92 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.3756, allocations: 11.97 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.3757, allocations: 11.94 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.3757, allocations: 7.984 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3757, allocations: 4 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-05/0.3758, allocations: 4 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3758, allocations: 7.938 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.3758, allocations: 8 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.3759, allocations: 32.11 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.376, allocations: 3.984 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.923e-06/0.376, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.376, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 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.0004704/0.3764, allocations: 258.3 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3765, allocations: 12.03 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.3765, allocations: 34.75 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.3766, allocations: 0.9375 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3767, allocations: 118.4 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3767, allocations: 384 / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3768, allocations: 4.375 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3769, allocations: 46.23 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3769, allocations: 11.88 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.3769, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3769, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3771, allocations: 31.95 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3775, allocations: 220 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3776, allocations: 50.41 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.3777, allocations: 16.91 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3777, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3778, allocations: 38.56 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3778, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000336/0.3781, allocations: 81.67 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3781, allocations: 55.41 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.3782, allocations: 105.8 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3782, allocations: 25.7 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.3783, allocations: 84.14 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.3783, allocations: 7.953 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3783, allocations: 9.719 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3785, allocations: 314.8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.3786, allocations: 19.97 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.3786, allocations: 16.02 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3788, allocations: 40.83 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3788, allocations: 3.938 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.379, allocations: 69.59 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.379, allocations: 5.719 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.379, allocations: 4.094 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.379, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.3791, allocations: 11.98 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3791, allocations: 0 / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.3792, allocations: 4 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3792, allocations: 3.984 kB / 1.328 GB, free: 14.84 MB / 1.029 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.246e-05/0.3793, allocations: 113.2 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3793, allocations: 7.953 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.3795, allocations: 72.97 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3795, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3795, allocations: 7.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3795, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3797, allocations: 128.7 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3797, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.3797, allocations: 7.984 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3797, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.3797, allocations: 4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3797, allocations: 3.938 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3797, allocations: 7.969 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.38, allocations: 163.5 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.38, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.38, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.3801, allocations: 7.984 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3801, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.3801, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.3802, allocations: 83.28 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3802, allocations: 4.031 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002292/0.3804, allocations: 7.938 kB / 1.329 GB, free: 14.15 MB / 1.029 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.0006018/0.381, allocations: 0.6967 MB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3812, allocations: 31.97 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3812, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.3813, allocations: 28 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.3816, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.3821, allocations: 135.9 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.3822, allocations: 59.34 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.3822, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.3822, allocations: 15.44 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3822, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.4099, allocations: 1.799 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 12.39 kB / 1.332 GB, free: 11.42 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable cos1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv. Warning: Get data of variable cos1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.93271925440058]