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.001702/0.001702, allocations: 110.3 kB / 16.46 MB, free: 6.504 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.001933/0.001933, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.56/1.56, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.607/2.607, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 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.001909/0.001909, allocations: 71.89 kB / 1.056 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8047, allocations: 160.7 MB / 1.213 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002612/0.8073, allocations: 1.069 MB / 1.214 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.8088, allocations: 0.9993 MB / 1.215 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.809, allocations: 3.312 kB / 1.215 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.8091, allocations: 24.8 kB / 1.215 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.8092, allocations: 12.94 kB / 1.215 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.8095, allocations: 79.59 kB / 1.215 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.8097, allocations: 175.6 kB / 1.215 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.8099, allocations: 65.89 kB / 1.215 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.81, allocations: 74.98 kB / 1.215 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.8101, allocations: 84.41 kB / 1.215 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.8102, allocations: 16.5 kB / 1.216 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/0.8102, allocations: 15.53 kB / 1.216 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.8102, allocations: 34.42 kB / 1.216 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.603e-05/0.8103, allocations: 78.94 kB / 1.216 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.8106, allocations: 186.1 kB / 1.216 GB, free: 1.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8106, allocations: 0 / 1.216 GB, free: 1.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8106, allocations: 0 / 1.216 GB, free: 1.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.8106, allocations: 0 / 1.216 GB, free: 1.59 MB / 0.92 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.00087/0.8115, allocations: 491.2 kB / 1.216 GB, free: 1.121 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.8115, allocations: 10.16 kB / 1.216 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.823e-05/0.8116, allocations: 51.02 kB / 1.216 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.8116, allocations: 23.16 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.812, allocations: 225.8 kB / 1.217 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.812, allocations: 15.19 kB / 1.217 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.812, allocations: 19.69 kB / 1.217 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.8124, allocations: 155.9 kB / 1.217 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.8124, allocations: 3.938 kB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.8124, allocations: 10.17 kB / 1.217 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.8124, allocations: 3.25 kB / 1.217 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.8127, allocations: 106.5 kB / 1.217 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.8139, allocations: 0.5342 MB / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.8143, allocations: 141 kB / 1.218 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.8145, allocations: 87.97 kB / 1.218 GB, free: 28 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.8145, allocations: 2.344 kB / 1.218 GB, free: 28 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.8148, allocations: 112.5 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.8148, allocations: 0 / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.000581/0.8154, allocations: 232 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.8154, allocations: 58.09 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.8156, allocations: 156.8 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.8156, allocations: 31.08 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.8157, allocations: 119.8 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.8157, allocations: 62.56 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.8158, allocations: 43.05 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.816, allocations: 327.3 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.8162, allocations: 69.98 kB / 1.219 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.8164, allocations: 90.22 kB / 1.219 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.8167, allocations: 145 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8167, allocations: 0 / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004925/0.8172, allocations: 214.3 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.8172, allocations: 6.438 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8172, allocations: 3.938 kB / 1.219 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8173, allocations: 1.219 kB / 1.219 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.8175, allocations: 46.03 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.8175, allocations: 1.938 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.8176, allocations: 34.02 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.8176, allocations: 8.719 kB / 1.219 GB, free: 14.73 MB / 0.9356 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.0001339/0.8178, allocations: 131.9 kB / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.8178, allocations: 15.28 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.8182, allocations: 187.4 kB / 1.22 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.8183, allocations: 2.906 kB / 1.22 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8183, allocations: 4 kB / 1.22 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8183, allocations: 0 / 1.22 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009699/0.8192, allocations: 0.5905 MB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8192, allocations: 2.312 kB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.8194, allocations: 34.33 kB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.8194, allocations: 6.906 kB / 1.22 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.8194, allocations: 7.281 kB / 1.22 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.8195, allocations: 5.953 kB / 1.22 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8195, allocations: 2.562 kB / 1.22 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.8201, allocations: 377.7 kB / 1.221 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.8202, allocations: 103.4 kB / 1.221 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.8202, allocations: 15.38 kB / 1.221 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.8204, allocations: 17.11 kB / 1.221 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.8205, allocations: 21.39 kB / 1.221 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.8205, allocations: 9.766 kB / 1.221 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001286/0.8206, allocations: 124.5 kB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8206, allocations: 0 / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003092/0.8209, allocations: 32.11 kB / 1.221 GB, free: 13.38 MB / 0.9356 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.001087/0.822, allocations: 0.9223 MB / 1.222 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.8225, allocations: 145.7 kB / 1.222 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.8225, allocations: 5.188 kB / 1.222 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.8227, allocations: 81.81 kB / 1.222 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.8231, allocations: 31.52 kB / 1.222 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.8263, allocations: 2.134 MB / 1.224 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.8266, allocations: 0.7219 MB / 1.225 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.047e-05/0.8267, allocations: 23.64 kB / 1.225 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.8268, allocations: 53.95 kB / 1.225 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.8268, allocations: 0 / 1.225 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.8552, allocations: 3.655 MB / 1.229 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/9.194, allocations: 1.297 kB / 1.229 GB, free: 7.816 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.1615479150787]