Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.005416/0.005416, allocations: 101 kB / 15.73 MB, free: 6.039 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.001126/0.001126, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.88 kB / 1.054 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8482, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002369/0.8507, allocations: 0.6608 MB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.8519, allocations: 0.8118 MB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.852, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.852, allocations: 3.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.375e-05/0.8521, allocations: 8 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.8523, allocations: 7.984 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.092e-05/0.8524, allocations: 15.94 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8526, allocations: 11.98 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.8526, allocations: 11.94 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.8527, allocations: 11.97 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.8527, allocations: 0 / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.8527, allocations: 4 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.8528, allocations: 7.938 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.8528, allocations: 11.94 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.8529, allocations: 27.89 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8529, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/0.853, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.853, allocations: 3.938 kB / 1.209 GB, free: 11.96 MB / 0.9356 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.0005347/0.8535, allocations: 337.7 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.8536, allocations: 12.03 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.8536, allocations: 30.75 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.8536, allocations: 0.9375 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.8538, allocations: 164.4 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.8538, allocations: 4.375 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.8538, allocations: 4.375 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.854, allocations: 54.22 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.854, allocations: 3.938 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.854, allocations: 0 / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8541, allocations: 0 / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.8542, allocations: 39.89 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.8546, allocations: 249 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.8547, allocations: 42.48 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.8548, allocations: 20.91 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.8548, allocations: 3.938 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.8549, allocations: 42.5 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8549, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003306/0.8552, allocations: 81.55 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.8552, allocations: 55.41 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.8553, allocations: 97.86 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.8553, allocations: 29.69 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.8554, allocations: 88.2 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.8554, allocations: 7.891 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.8555, allocations: 17.72 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.8556, allocations: 310.8 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.8556, allocations: 15.98 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.8557, allocations: 19.97 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.8559, allocations: 44.83 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8559, allocations: 3.938 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001791/0.8561, allocations: 61.66 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.8561, allocations: 8 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8561, allocations: 0 / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8561, allocations: 0 / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.8562, allocations: 12.02 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.8562, allocations: 4 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.8563, allocations: 0 / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.8563, allocations: 4 kB / 1.211 GB, free: 9.891 MB / 0.9356 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.447e-05/0.8564, allocations: 117.8 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.8564, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.8566, allocations: 76.72 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8567, allocations: 3.938 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8567, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8567, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.8569, allocations: 157.6 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8569, allocations: 0 / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.8569, allocations: 15.98 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8569, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.857, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.857, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.857, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.8573, allocations: 175.3 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.8573, allocations: 85.09 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.8573, allocations: 4 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.8574, allocations: 8 kB / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.8574, allocations: 3.984 kB / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.8575, allocations: 4.031 kB / 1.211 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.8575, allocations: 83.45 kB / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8575, allocations: 0 / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002143/0.8577, allocations: 4 kB / 1.211 GB, free: 9.066 MB / 0.9356 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.0005178/0.8583, allocations: 0.6989 MB / 1.212 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.8585, allocations: 39.95 kB / 1.212 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8585, allocations: 0 / 1.212 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.8586, allocations: 19.98 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.8589, allocations: 160 / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.8593, allocations: 147.7 kB / 1.212 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.8595, allocations: 0.6806 MB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.24e-05/0.8595, allocations: 4 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.8595, allocations: 11.38 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.8596, allocations: 0 / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.8762, allocations: 1.271 MB / 1.214 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/8.421, allocations: 7.984 kB / 1.214 GB, free: 6.184 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches