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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001339/0.001339, allocations: 194.5 kB / 16.14 MB, free: 6.652 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 75.88 kB / 0.812 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5187, allocations: 140.4 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.00163/0.5204, allocations: 0.7141 MB / 0.9498 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000649/0.521, allocations: 0.8114 MB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.5211, allocations: 0 / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.5211, allocations: 1.375 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.5212, allocations: 3.938 kB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.5213, allocations: 13.34 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.5214, allocations: 17.56 kB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.5214, allocations: 10.73 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.5215, allocations: 12.06 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.5215, allocations: 10.73 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.5216, allocations: 1.375 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.5216, allocations: 5.312 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.5216, allocations: 0 / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.5216, allocations: 6.688 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.454e-05/0.5217, allocations: 28 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5217, allocations: 4 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.5217, allocations: 4 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.5217, allocations: 0 / 0.9507 GB, free: 7.859 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.0002938/0.522, allocations: 335.4 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.522, allocations: 9.625 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.136e-05/0.5221, allocations: 38.75 kB / 0.951 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.096e-05/0.5221, allocations: 2.312 kB / 0.9511 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.633e-05/0.5221, allocations: 165.7 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.5221, allocations: 1.75 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.5222, allocations: 1.75 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.5223, allocations: 57.17 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.5223, allocations: 3.938 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.5223, allocations: 0 / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.5223, allocations: 1.375 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.5225, allocations: 33.83 kB / 0.9513 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.5227, allocations: 245.2 kB / 0.9515 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.5228, allocations: 42.81 kB / 0.9516 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.5229, allocations: 31.81 kB / 0.9516 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.5229, allocations: 0 / 0.9516 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.523, allocations: 31.94 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.523, allocations: 4 kB / 0.9516 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002966/0.5233, allocations: 75.89 kB / 0.9517 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.5233, allocations: 56.78 kB / 0.9518 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.434e-05/0.5233, allocations: 94.77 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.5234, allocations: 29.64 kB / 0.9519 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.062e-05/0.5234, allocations: 93.31 kB / 0.952 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.5234, allocations: 9.031 kB / 0.952 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.5234, allocations: 16.84 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.129e-05/0.5235, allocations: 314.8 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.5235, allocations: 13.58 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.5236, allocations: 21 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5237, allocations: 39.39 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5237, allocations: 5.656 kB / 0.9524 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001575/0.5239, allocations: 63.47 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5239, allocations: 5.688 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5239, allocations: 0 / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.5239, allocations: 0 / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.524, allocations: 14.48 kB / 0.9525 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.524, allocations: 3.938 kB / 0.9525 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.5241, allocations: 7.406 kB / 0.9525 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5241, allocations: 1.531 kB / 0.9525 GB, free: 6 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.854e-05/0.5241, allocations: 115.3 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.5242, allocations: 9.125 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.5244, allocations: 66.5 kB / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5244, allocations: 0 / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5244, allocations: 5.062 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.5244, allocations: 0 / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.532e-05/0.5245, allocations: 159.3 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5245, allocations: 0 / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.5245, allocations: 9.328 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5246, allocations: 0 / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.5246, allocations: 1.219 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5246, allocations: 7.938 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5246, allocations: 1.344 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.5248, allocations: 165.9 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.5248, allocations: 78.52 kB / 0.9531 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.5248, allocations: 5.297 kB / 0.9531 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.5249, allocations: 2.844 kB / 0.9531 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.5249, allocations: 5.484 kB / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.5249, allocations: 1.906 kB / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.805e-05/0.5249, allocations: 89.81 kB / 0.9532 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5249, allocations: 0 / 0.9532 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001994/0.5251, allocations: 3.094 kB / 0.9532 GB, free: 5.262 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.0003323/0.5255, allocations: 0.7003 MB / 0.9538 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.5257, allocations: 36.64 kB / 0.9539 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5257, allocations: 0 / 0.9539 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.047e-05/0.5257, allocations: 20.48 kB / 0.9539 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.526, allocations: 1.688 kB / 0.9539 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.5263, allocations: 137.8 kB / 0.954 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.626e-05/0.5264, allocations: 0.6775 MB / 0.9547 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.5264, allocations: 1.094 kB / 0.9547 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.5265, allocations: 11.44 kB / 0.9547 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.5265, allocations: 1.25 kB / 0.9547 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9381/1.465, allocations: 1.07 MB / 0.9558 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/1.465, allocations: 202.4 kB / 0.9559 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/3.449, allocations: 5.281 kB / 0.956 GB, free: 2.863 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