Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",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.004358/0.004358, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.001101/0.001101, allocations: 192.4 kB / 16.68 MB, free: 5.938 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 63.89 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.6352, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002039/0.6372, allocations: 1.064 MB / 1.221 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.6384, allocations: 0.9917 MB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.6385, allocations: 7.938 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.6386, allocations: 11.81 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.6386, allocations: 23.73 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.6389, allocations: 85.41 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.6391, allocations: 176 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.6392, allocations: 76.03 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.6393, allocations: 71.77 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.6394, allocations: 75.61 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.6395, allocations: 20 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.594e-05/0.6395, allocations: 16 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.6396, allocations: 39.91 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.6396, allocations: 83.52 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.6398, allocations: 178.9 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6399, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6399, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.6399, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007415/0.6406, allocations: 490.6 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.6407, allocations: 11.97 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/0.6407, allocations: 54.67 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.6408, allocations: 20.78 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.641, allocations: 228.6 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.641, allocations: 8.375 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.6411, allocations: 24.36 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.6414, allocations: 155.2 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6414, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.6414, allocations: 8 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.6414, allocations: 4 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.6417, allocations: 103.9 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.6427, allocations: 0.5314 MB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.6431, allocations: 146.7 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.6433, allocations: 92.78 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.6433, allocations: 4 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.6435, allocations: 115.3 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.6435, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0005054/0.644, allocations: 227.5 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.6441, allocations: 55.41 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.6442, allocations: 165.2 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6443, allocations: 33.69 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.6443, allocations: 116.5 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.6444, allocations: 67.44 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.6445, allocations: 37.7 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6446, allocations: 334.8 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.6448, allocations: 63.97 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.645, allocations: 89.66 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.6454, allocations: 147.1 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6454, allocations: 4 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004688/0.6458, allocations: 215.1 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.6459, allocations: 7.938 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.6459, allocations: 0 / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.6459, allocations: 4 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.6461, allocations: 35.97 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6461, allocations: 4 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.6462, allocations: 31.86 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.6462, allocations: 4 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.000108/0.6463, allocations: 137.7 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.6464, allocations: 19.84 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.6468, allocations: 185.2 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6468, allocations: 8 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6468, allocations: 4 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6468, allocations: 3.938 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.6476, allocations: 0.589 MB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6476, allocations: 4 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.6478, allocations: 31.97 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.6478, allocations: 7.938 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.6478, allocations: 8 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.6478, allocations: 0 / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.6478, allocations: 7.938 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.6484, allocations: 380.6 kB / 1.228 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.6485, allocations: 100.9 kB / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.6485, allocations: 4 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.6486, allocations: 16.03 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.6487, allocations: 27.91 kB / 1.228 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.6487, allocations: 7.984 kB / 1.228 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.574e-05/0.6488, allocations: 117.5 kB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6488, allocations: 4 kB / 1.228 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002467/0.6491, allocations: 31.95 kB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0008659/0.6499, allocations: 0.9186 MB / 1.229 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.6504, allocations: 167.8 kB / 1.229 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6504, allocations: 0 / 1.229 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.6506, allocations: 85.59 kB / 1.229 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.6509, allocations: 35.84 kB / 1.229 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.6534, allocations: 2.128 MB / 1.231 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.6537, allocations: 0.7283 MB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.524e-05/0.6538, allocations: 21.36 kB / 1.232 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.6539, allocations: 55.41 kB / 1.232 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.6539, allocations: 8 kB / 1.232 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9142/1.568, allocations: 3.605 MB / 1.236 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/13.34, allocations: 15.84 kB / 1.236 GB, free: 1.605 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches