Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.003/3.003, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 67.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 176.1 MB / 1.322 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002003/1.048, allocations: 1.07 MB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001028/1.049, allocations: 1.036 MB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/1.049, allocations: 9.031 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/1.05, allocations: 23.22 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/1.05, allocations: 22.03 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/1.05, allocations: 70.27 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/1.05, allocations: 179.8 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/1.05, allocations: 65.98 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.515e-05/1.05, allocations: 76.17 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/1.05, allocations: 73.34 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/1.05, allocations: 18.25 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/1.051, allocations: 24.14 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/1.051, allocations: 40.33 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/1.051, allocations: 75.16 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/1.051, allocations: 192.5 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.051, allocations: 0 / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/1.051, allocations: 0 / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.722e-06/1.051, allocations: 0 / 1.324 GB, free: 22.84 MB / 1.061 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.000758/1.052, allocations: 482.5 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.052, allocations: 15.31 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.926e-05/1.052, allocations: 5.812 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/1.052, allocations: 51.56 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/1.052, allocations: 20.89 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/1.052, allocations: 225.1 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.052, allocations: 17.47 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/1.052, allocations: 16.56 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/1.052, allocations: 156.2 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.052, allocations: 3.984 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.052, allocations: 6.719 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.052, allocations: 2.844 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/1.053, allocations: 109.9 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/1.054, allocations: 0.5352 MB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/1.054, allocations: 144.2 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/1.054, allocations: 82.73 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/1.054, allocations: 2.75 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/1.054, allocations: 124.1 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/1.054, allocations: 0 / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0005142/1.055, allocations: 224.2 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/1.055, allocations: 51.41 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.055, allocations: 168.2 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/1.055, allocations: 32.14 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/1.055, allocations: 113.8 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/1.055, allocations: 74.03 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/1.055, allocations: 39.27 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/1.055, allocations: 324.5 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/1.055, allocations: 69 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/1.056, allocations: 93.08 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/1.056, allocations: 150.8 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.056, allocations: 0 / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005286/1.057, allocations: 213.5 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.057, allocations: 9.625 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.057, allocations: 0.6875 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.057, allocations: 1.406 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/1.057, allocations: 40.09 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/1.057, allocations: 1.406 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/1.057, allocations: 28.8 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/1.057, allocations: 4.406 kB / 1.328 GB, free: 20.34 MB / 1.061 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 8.182e-05/1.057, allocations: 133.8 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/1.057, allocations: 13.81 kB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/1.058, allocations: 192.2 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.058, allocations: 1.719 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.058, allocations: 0.9688 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.058, allocations: 0 / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/1.058, allocations: 0.5964 MB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.058, allocations: 1.938 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/1.059, allocations: 41.25 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/1.059, allocations: 6.781 kB / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/1.059, allocations: 7.688 kB / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/1.059, allocations: 3 kB / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.059, allocations: 1.5 kB / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/1.059, allocations: 390.9 kB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/1.059, allocations: 98.92 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/1.059, allocations: 6.297 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/1.059, allocations: 15.34 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/1.059, allocations: 24.75 kB / 1.329 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/1.059, allocations: 9.594 kB / 1.329 GB, free: 19.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.773e-05/1.06, allocations: 118 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.06, allocations: 0 / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002969/1.06, allocations: 32.8 kB / 1.33 GB, free: 19.15 MB / 1.061 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.0008322/1.061, allocations: 0.9289 MB / 1.33 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004671/1.061, allocations: 145.7 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.061, allocations: 1.281 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/1.061, allocations: 84.34 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/1.062, allocations: 37.47 kB / 1.331 GB, free: 18.26 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/1.065, allocations: 2.137 MB / 1.333 GB, free: 16.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/1.065, allocations: 0.7249 MB / 1.334 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.986e-05/1.065, allocations: 20.98 kB / 1.334 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/1.065, allocations: 55.28 kB / 1.334 GB, free: 15.88 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.065, allocations: 0 / 1.334 GB, free: 15.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/1.091, allocations: 3.676 MB / 1.337 GB, free: 15.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/9.662, allocations: 12.02 kB / 1.337 GB, free: 15.33 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-07 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.46621583600063]