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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001049/0.001049, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437.1 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 71.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5126, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002092/0.5147, allocations: 1.066 MB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.5158, allocations: 0.9986 MB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.5159, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.516, allocations: 19.73 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.5161, allocations: 11.81 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.5163, allocations: 75.84 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.5166, allocations: 184 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.5167, allocations: 80.03 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.5168, allocations: 71.8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.545e-05/0.5169, allocations: 83.52 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.517, allocations: 16 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.517, allocations: 16 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.517, allocations: 35.91 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.5171, allocations: 83.53 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.5173, allocations: 173.6 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5173, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5173, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5173, allocations: 0 / 1.02 GB, free: 15.55 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.0007298/0.5181, allocations: 474.8 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.5181, allocations: 12.03 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.5181, allocations: 50.73 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.5182, allocations: 20.75 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.5184, allocations: 224.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.5185, allocations: 12.38 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.5185, allocations: 20.36 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.5188, allocations: 154.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5188, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.5188, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5188, allocations: 8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.5191, allocations: 107.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.5201, allocations: 0.539 MB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.5204, allocations: 144.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.5206, allocations: 84.86 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.5206, allocations: 3.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.5209, allocations: 121.4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.5209, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005021/0.5214, allocations: 229.3 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.5214, allocations: 55.41 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5216, allocations: 162.1 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.5216, allocations: 33.7 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.5217, allocations: 112.4 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.5217, allocations: 67.09 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.5218, allocations: 45.7 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.5219, allocations: 330.8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.5221, allocations: 67.81 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.5223, allocations: 91.44 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.5226, allocations: 157.1 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5226, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004501/0.5231, allocations: 213.4 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5231, allocations: 4 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5231, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5231, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.5233, allocations: 43.95 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5233, allocations: 3.984 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.5235, allocations: 31.81 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5235, allocations: 4 kB / 1.024 GB, free: 11.75 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 9.608e-05/0.5236, allocations: 133.7 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.5236, allocations: 11.81 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.524, allocations: 195.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.524, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.5241, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5241, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/0.5248, allocations: 0.5928 MB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5248, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.525, allocations: 35.92 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.525, allocations: 7.938 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.525, allocations: 7.984 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.525, allocations: 8.188 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5251, allocations: 8 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.5256, allocations: 378.4 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.5257, allocations: 104.9 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.5257, allocations: 4 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.5259, allocations: 15.98 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.5259, allocations: 23.91 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.5259, allocations: 12 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.526, allocations: 117 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.526, allocations: 0 / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002625/0.5263, allocations: 35.94 kB / 1.025 GB, free: 9.934 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.0008332/0.5271, allocations: 0.9238 MB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.5276, allocations: 173.9 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5276, allocations: 3.938 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.5278, allocations: 83.83 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.5281, allocations: 32.3 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.5305, allocations: 2.116 MB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.5307, allocations: 0.7244 MB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.977e-05/0.5308, allocations: 13.42 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.5309, allocations: 59.41 kB / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.5309, allocations: 0 / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.5516, allocations: 3.537 MB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/7.353, allocations: 11.47 kB / 1.033 GB, free: 2.164 MB / 0.7794 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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