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.001449/0.001449, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001668/0.001668, allocations: 199.3 kB / 16.26 MB, free: 6.633 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.28/2.28, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5397, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001397/0.5411, allocations: 0.7305 MB / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.5416, allocations: 0.8081 MB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.5417, allocations: 1.375 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.5417, allocations: 0 / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.5418, allocations: 4 kB / 0.9508 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.5419, allocations: 18.61 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.5419, allocations: 20.23 kB / 0.9508 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.88e-05/0.542, allocations: 4.125 kB / 0.9508 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.542, allocations: 10.73 kB / 0.9508 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.5421, allocations: 10.69 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.5421, allocations: 2.75 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.5421, allocations: 1.375 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.5421, allocations: 5.359 kB / 0.9508 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.5421, allocations: 17.25 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.144e-05/0.5422, allocations: 24.02 kB / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5422, allocations: 0 / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5422, allocations: 1.375 kB / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.5422, allocations: 0 / 0.9509 GB, free: 7.828 MB / 0.7169 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.0002817/0.5425, allocations: 338.1 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.5425, allocations: 9.625 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.816e-05/0.5426, allocations: 32.12 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.774e-05/0.5426, allocations: 2.312 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.428e-05/0.5426, allocations: 173.7 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.5427, allocations: 1.75 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.5427, allocations: 384 / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.5428, allocations: 50.61 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.5428, allocations: 3.938 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.5428, allocations: 0 / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5428, allocations: 1.375 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.543, allocations: 33.78 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.5432, allocations: 253.2 kB / 0.9517 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.5433, allocations: 34.88 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.5434, allocations: 27.23 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.5434, allocations: 0 / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.5434, allocations: 40.11 kB / 0.9518 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.5434, allocations: 0 / 0.9518 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002788/0.5437, allocations: 80.16 kB / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.609e-05/0.5437, allocations: 56.48 kB / 0.952 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.092e-05/0.5438, allocations: 99.23 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-06/0.5438, allocations: 25.83 kB / 0.9521 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.5438, allocations: 85.2 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.5438, allocations: 12.72 kB / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.5438, allocations: 19.67 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.909e-05/0.5439, allocations: 312.5 kB / 0.9525 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.544, allocations: 16.08 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.544, allocations: 14.14 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.5441, allocations: 47.88 kB / 0.9526 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5442, allocations: 7.875 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000152/0.5443, allocations: 59.67 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.5443, allocations: 5.469 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5443, allocations: 3.984 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.5443, allocations: 1.625 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.5444, allocations: 9.406 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.5444, allocations: 0 / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.5445, allocations: 12.27 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.5445, allocations: 5.469 kB / 0.9527 GB, free: 5.965 MB / 0.7169 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 3.526e-05/0.5445, allocations: 111.1 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.5446, allocations: 4.969 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.5447, allocations: 77.69 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5448, allocations: 5.203 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5448, allocations: 0 / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5448, allocations: 1.344 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.5449, allocations: 157.3 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5449, allocations: 0 / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.5449, allocations: 10.11 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5449, allocations: 1.219 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.5449, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5449, allocations: 0.75 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.545, allocations: 4.031 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.5451, allocations: 167.4 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.5451, allocations: 78.45 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.5452, allocations: 0 / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.5452, allocations: 7.641 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.5453, allocations: 5.281 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.5453, allocations: 1 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.5453, allocations: 78.41 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.82e-07/0.5453, allocations: 0 / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001941/0.5455, allocations: 11.8 kB / 0.9533 GB, free: 5.23 MB / 0.7169 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.0003066/0.5458, allocations: 0.6952 MB / 0.954 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.546, allocations: 42.06 kB / 0.9541 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.546, allocations: 0 / 0.9541 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.5461, allocations: 20.31 kB / 0.9541 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.5463, allocations: 9.906 kB / 0.9541 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.5466, allocations: 136 kB / 0.9542 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.926e-05/0.5467, allocations: 0.6802 MB / 0.9549 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.5467, allocations: 5.688 kB / 0.9549 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.5467, allocations: 7.438 kB / 0.9549 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5467, allocations: 1.469 kB / 0.9549 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7066/1.253, allocations: 1.112 MB / 0.956 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.254, allocations: 208.4 kB / 0.9562 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.914, allocations: 0 / 0.9562 GB, free: 2.816 MB / 0.7169 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