Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005187/0.005187, allocations: 102 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 195 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 62.22 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2396, allocations: 140.4 MB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001714/0.2414, allocations: 0.6552 MB / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000814/0.2422, allocations: 0.816 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.2423, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.2423, allocations: 3.984 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.2424, allocations: 3.938 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.2425, allocations: 8 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.2426, allocations: 23.92 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.2427, allocations: 4 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.2427, allocations: 15.92 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.656e-05/0.2428, allocations: 15.97 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2428, allocations: 4 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-06/0.2428, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.2428, allocations: 7.938 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.2428, allocations: 4 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.863e-05/0.2429, allocations: 23.89 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2429, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2429, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2429, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 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.00039/0.2433, allocations: 346.3 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2434, allocations: 8.031 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.2434, allocations: 34.73 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.2434, allocations: 8.844 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.95e-05/0.2435, allocations: 160.4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.2436, allocations: 384 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2436, allocations: 4.359 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2437, allocations: 50.23 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2437, allocations: 7.875 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.2438, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.2438, allocations: 8 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.2439, allocations: 35.89 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.2442, allocations: 248.9 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.2443, allocations: 34.5 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.2444, allocations: 28.91 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2445, allocations: 3.984 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2445, allocations: 30.56 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2445, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003443/0.2448, allocations: 85.58 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.2449, allocations: 55.53 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.245, allocations: 97.86 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.245, allocations: 29.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.245, allocations: 84.05 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.245, allocations: 4.547 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.2451, allocations: 21.7 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.2452, allocations: 310.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.2452, allocations: 23.98 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.2453, allocations: 15.98 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2455, allocations: 36.81 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2455, allocations: 7.875 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.2457, allocations: 73.62 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2457, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2457, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2457, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.2458, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2458, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.2459, allocations: 11.98 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.2459, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 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 7.014e-05/0.246, allocations: 114.1 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.246, allocations: 4.031 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.2462, allocations: 76.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2462, allocations: 4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2462, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2463, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.2464, allocations: 165.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2464, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.2465, allocations: 7.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2465, allocations: 8.031 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.2465, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2465, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2465, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.2467, allocations: 167.4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.2468, allocations: 81.02 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.2468, allocations: 4.031 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.2469, allocations: 11.92 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.2469, allocations: 4 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.2469, allocations: 192 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.348e-05/0.247, allocations: 87.25 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.247, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002021/0.2472, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 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.0004881/0.2477, allocations: 0.6968 MB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.2479, allocations: 39.91 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2479, allocations: 4.094 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2481, allocations: 19.97 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2483, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.2488, allocations: 135.3 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.249, allocations: 0.6768 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.249, allocations: 4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.2491, allocations: 7.438 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.2491, allocations: 4.062 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.323/0.5721, allocations: 1.281 MB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/8.96, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches