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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 443.5 MB / 0.7304 GB, free: 13.97 MB / 0.5763 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 60.09 kB / 1.059 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2756, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00226/0.2778, allocations: 1.077 MB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2791, allocations: 1.003 MB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.2793, allocations: 4 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.2794, allocations: 19.73 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.2795, allocations: 19.8 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.2798, allocations: 79.78 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.28, allocations: 176 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.2802, allocations: 68.25 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2803, allocations: 67.78 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2804, allocations: 87.53 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.2804, allocations: 16 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.505e-05/0.2805, allocations: 16 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.2805, allocations: 35.84 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.2806, allocations: 79.59 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2808, allocations: 187.1 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2808, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2808, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2808, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 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.0007978/0.2816, allocations: 482.6 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2816, allocations: 12.03 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.2817, allocations: 46.73 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.2817, allocations: 24.84 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.282, allocations: 220.6 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.282, allocations: 12.38 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.2821, allocations: 20.38 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.2824, allocations: 154.6 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2824, allocations: 4 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2824, allocations: 4 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2824, allocations: 4 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.2827, allocations: 115.8 kB / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.2838, allocations: 0.5468 MB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.2841, allocations: 130.7 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2843, allocations: 82.69 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.2843, allocations: 11.98 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.2845, allocations: 115.3 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.2845, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.0005216/0.2851, allocations: 223.2 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.2851, allocations: 59.41 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2852, allocations: 153.1 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.2853, allocations: 33.7 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.2853, allocations: 120.6 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.2854, allocations: 59.44 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.2855, allocations: 45.7 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2856, allocations: 326.8 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.2858, allocations: 75.75 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.286, allocations: 85.67 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2863, allocations: 151.8 kB / 1.222 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2863, allocations: 0 / 1.222 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004715/0.2868, allocations: 213.4 kB / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2868, allocations: 4 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2868, allocations: 0 / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2868, allocations: 4 kB / 1.222 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.287, allocations: 43.91 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.287, allocations: 0 / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.2872, allocations: 27.88 kB / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2872, allocations: 8.031 kB / 1.222 GB, free: 9.16 MB / 0.9669 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.0001134/0.2873, allocations: 133.8 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2873, allocations: 15.91 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.2877, allocations: 192.7 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2877, allocations: 0 / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2877, allocations: 7.984 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2877, allocations: 4 kB / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.2885, allocations: 0.5853 MB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2885, allocations: 3.938 kB / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2887, allocations: 39.91 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.2887, allocations: 7.938 kB / 1.223 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2887, allocations: 8 kB / 1.223 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2887, allocations: 0 / 1.223 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2887, allocations: 4 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.2893, allocations: 384 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.2894, allocations: 100.9 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2894, allocations: 12 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2896, allocations: 16.03 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.2896, allocations: 19.97 kB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.2896, allocations: 12 kB / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.216e-05/0.2897, allocations: 117 kB / 1.224 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2897, allocations: 4 kB / 1.224 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002584/0.29, allocations: 35.89 kB / 1.224 GB, free: 7.34 MB / 0.9669 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.0009267/0.2909, allocations: 0.926 MB / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004106/0.2913, allocations: 154.5 kB / 1.225 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2913, allocations: 0 / 1.225 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.2915, allocations: 83.91 kB / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2918, allocations: 31.86 kB / 1.225 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.2945, allocations: 2.128 MB / 1.227 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2949, allocations: 0.7283 MB / 1.228 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.694e-05/0.2949, allocations: 13.61 kB / 1.228 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.295, allocations: 59.39 kB / 1.228 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.295, allocations: 0 / 1.228 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.3227, allocations: 3.617 MB / 1.231 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.292, allocations: 11.45 kB / 1.231 GB, free: 15.5 MB / 0.9825 GB " [Timeout remaining time 293] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable der1.y in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.y from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable intWitRes.u in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable intWitRes.u from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der2.y in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der2.y from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! Error: Could not read variable der1.T in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv. Warning: Get data of variable der1.T from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.612610358999518]