Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.007853/0.007853, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001731/0.001731, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.606/1.606, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 65.2 kB / 0.9505 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.235, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002319/0.2374, allocations: 1.045 MB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2387, allocations: 0.9986 MB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2388, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2389, allocations: 19.73 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.239, allocations: 19.81 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.2393, allocations: 67.84 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.2395, allocations: 171.6 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2396, allocations: 78.5 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.2397, allocations: 67.78 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.2398, allocations: 75.66 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.2399, allocations: 16 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.2399, allocations: 12 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.2399, allocations: 43.84 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.24, allocations: 63.61 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.2402, allocations: 182.1 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2402, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2402, allocations: 4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2402, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008014/0.241, allocations: 472 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.2411, allocations: 12.02 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/0.2412, allocations: 42.75 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.2412, allocations: 20.75 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.2416, allocations: 224 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2416, allocations: 12.66 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.2417, allocations: 16.38 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.2421, allocations: 152.3 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2421, allocations: 3.938 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.2422, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2422, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2426, allocations: 112.8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.244, allocations: 0.5198 MB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.2444, allocations: 146.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.2446, allocations: 88.77 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.2447, allocations: 7.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.2449, allocations: 128.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.2449, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0005544/0.2455, allocations: 219.3 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2455, allocations: 59.39 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2457, allocations: 158.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.2457, allocations: 25.7 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.2458, allocations: 120.4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.2458, allocations: 55.17 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.2459, allocations: 37.7 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.246, allocations: 326.8 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2462, allocations: 67.95 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.2465, allocations: 86.69 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.2468, allocations: 155.9 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2468, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000485/0.2473, allocations: 205.5 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2473, allocations: 4 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2474, allocations: 8.031 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2474, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.2476, allocations: 43.91 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2476, allocations: 4 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2478, allocations: 23.73 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.2478, allocations: 11.94 kB / 1.094 GB, free: 11.33 MB / 0.8575 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.0001082/0.2479, allocations: 134.8 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.2479, allocations: 15.91 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.2483, allocations: 190.7 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2483, allocations: 4 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2484, allocations: 0 / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2484, allocations: 3.984 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.2491, allocations: 0.5791 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2492, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2493, allocations: 39.91 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2494, allocations: 4.188 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2494, allocations: 8 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2494, allocations: 7.938 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2494, allocations: 7.938 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.25, allocations: 374.5 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.25, allocations: 104.9 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.2501, allocations: 7.938 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.2502, allocations: 15.98 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.2503, allocations: 27.91 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2503, allocations: 8 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.207e-05/0.2504, allocations: 122.5 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2504, allocations: 0 / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002805/0.2507, allocations: 31.94 kB / 1.095 GB, free: 9.527 MB / 0.8575 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.0009098/0.2516, allocations: 0.928 MB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.2521, allocations: 160.5 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2521, allocations: 4 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.2523, allocations: 83.89 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2526, allocations: 37.98 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.2552, allocations: 2.111 MB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.2554, allocations: 0.7166 MB / 1.099 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.37e-05/0.2555, allocations: 17.61 kB / 1.099 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.2556, allocations: 55.41 kB / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of SimCode: time 7.11e-07/0.2556, allocations: 0 / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.043/3.298, allocations: 3.563 MB / 1.103 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/16.38, allocations: 8.047 kB / 1.103 GB, free: 1.77 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches