Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_10_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.0008722/0.0008722, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005153/0.005153, allocations: 172 kB / 16.26 MB, free: 6.613 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.228/1.228, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.327/2.327, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 16 kB / 0.873 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.5108, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001115/0.512, allocations: 0.7749 MB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.5131, allocations: 0.9987 MB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.5132, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.711e-05/0.5134, allocations: 11.86 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.5134, allocations: 11.88 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.5137, allocations: 55.94 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.5138, allocations: 172 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.514, allocations: 77.28 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.5141, allocations: 47.73 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.5142, allocations: 63.62 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.5142, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.5142, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.5142, allocations: 35.89 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.5143, allocations: 85.25 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.5145, allocations: 165.6 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5145, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5145, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5145, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 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.0006801/0.5152, allocations: 462.9 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.5152, allocations: 15.97 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.5153, allocations: 46.73 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.5153, allocations: 20.66 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.5156, allocations: 220.6 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.5156, allocations: 8.375 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.5156, allocations: 24.28 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.5159, allocations: 162.4 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.516, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.516, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.516, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.5163, allocations: 123.8 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.5173, allocations: 0.5508 MB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.5177, allocations: 150.6 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.5178, allocations: 84.86 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.5179, allocations: 8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.5181, allocations: 123.3 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.5181, allocations: 0 / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005155/0.5187, allocations: 243 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.5187, allocations: 55.41 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.5188, allocations: 164.4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.5188, allocations: 29.7 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.5189, allocations: 124.4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.519, allocations: 67.09 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.519, allocations: 17.72 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5191, allocations: 330.8 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.5193, allocations: 75.77 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.5195, allocations: 98.27 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.5199, allocations: 161.5 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5199, allocations: 4 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004623/0.5204, allocations: 213.4 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5204, allocations: 8 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5204, allocations: 0 / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.5204, allocations: 0 / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.5206, allocations: 51.94 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5206, allocations: 4 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.5208, allocations: 19.89 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.5208, allocations: 11.98 kB / 1.029 GB, free: 9.523 MB / 0.7794 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.0001019/0.5209, allocations: 142.1 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.5209, allocations: 15.81 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.5213, allocations: 204.1 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5214, allocations: 0 / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5214, allocations: 4 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5214, allocations: 4 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.5221, allocations: 0.5929 MB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5222, allocations: 0 / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.5223, allocations: 39.92 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.5223, allocations: 7.938 kB / 1.03 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.5224, allocations: 8.188 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5224, allocations: 8 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5224, allocations: 0 / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.523, allocations: 400.2 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.523, allocations: 92.86 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.523, allocations: 12 kB / 1.031 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.5232, allocations: 24.02 kB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.5233, allocations: 19.91 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.5233, allocations: 12 kB / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.382e-05/0.5234, allocations: 122.5 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5234, allocations: 0 / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002516/0.5236, allocations: 35.94 kB / 1.031 GB, free: 7.66 MB / 0.7794 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.0008169/0.5244, allocations: 0.9333 MB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.5249, allocations: 171.8 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5249, allocations: 0 / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.5251, allocations: 96.22 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.5254, allocations: 33.38 kB / 1.032 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.5279, allocations: 2.201 MB / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.5281, allocations: 0.7207 MB / 1.035 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.5282, allocations: 21.59 kB / 1.035 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.5283, allocations: 55.42 kB / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5283, allocations: 0 / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.073/1.602, allocations: 3.183 MB / 1.038 GB, free: 204 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/1.602, allocations: 203.8 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/3.267, allocations: 4.062 kB / 1.038 GB, free: 15.94 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-07 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches