Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00111/0.00111, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001001/0.001001, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9089/0.9089, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.516e-05, allocations: 5.234 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001441/0.001456, allocations: 1.011 MB / 0.9516 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.002386, allocations: 1.03 MB / 0.9526 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.002479, allocations: 4 kB / 0.9526 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.002599, allocations: 19.73 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.002644, allocations: 15.81 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.002924, allocations: 79.78 kB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.003078, allocations: 184.1 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.003221, allocations: 58.8 kB / 0.9529 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.003338, allocations: 103.8 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.003413, allocations: 55.8 kB / 0.9531 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.003436, allocations: 16 kB / 0.9531 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-05/0.003482, allocations: 20 kB / 0.9531 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.003515, allocations: 43.83 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.003554, allocations: 43.89 kB / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.003746, allocations: 203.3 kB / 0.9534 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003748, allocations: 4 kB / 0.9534 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003749, allocations: 0 / 0.9534 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003753, allocations: 0 / 0.9534 GB, free: 0.5391 MB / 0.9011 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.0005494/0.004302, allocations: 426.3 kB / 0.9538 GB, free: 88 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.004337, allocations: 8.031 kB / 0.9538 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.004374, allocations: 54.67 kB / 0.9538 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/0.00444, allocations: 16.84 kB / 0.9539 GB, free: 0 / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.004634, allocations: 176.3 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.004651, allocations: 16.31 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.004674, allocations: 16.38 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.004888, allocations: 179.7 kB / 0.9542 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.004897, allocations: 192 / 0.9542 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.004912, allocations: 7.938 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.004917, allocations: 4 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.005073, allocations: 103.9 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.005717, allocations: 483.1 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.005972, allocations: 142.6 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.006136, allocations: 80.81 kB / 0.955 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.006157, allocations: 0 / 0.955 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.006312, allocations: 149 kB / 0.9552 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 8.52e-07/0.006313, allocations: 0 / 0.9552 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0003192/0.006632, allocations: 223.6 kB / 0.9554 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.006656, allocations: 55.41 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.006742, allocations: 160 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.00676, allocations: 37.7 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.00681, allocations: 116.5 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.006843, allocations: 63.44 kB / 0.9558 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.006888, allocations: 41.7 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.006958, allocations: 326.8 kB / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.007072, allocations: 63.95 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.007189, allocations: 88.31 kB / 0.9563 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.007374, allocations: 153.5 kB / 0.9564 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007376, allocations: 0 / 0.9564 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002522/0.007628, allocations: 208.1 kB / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.007639, allocations: 4 kB / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.007644, allocations: 0 / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.007655, allocations: 7.938 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.00775, allocations: 44 kB / 0.9567 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.007755, allocations: 4 kB / 0.9567 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.007817, allocations: 31.77 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.007826, allocations: 8 kB / 0.9567 GB, free: 12.9 MB / 0.9167 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 7.031e-05/0.007896, allocations: 133.7 kB / 0.9568 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.007911, allocations: 19.84 kB / 0.9569 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.008145, allocations: 186.7 kB / 0.957 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008148, allocations: 4 kB / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008151, allocations: 0 / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008155, allocations: 3.984 kB / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.008618, allocations: 0.5335 MB / 0.9576 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.00862, allocations: 8.188 kB / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.791e-05/0.008708, allocations: 47.84 kB / 0.9576 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.00871, allocations: 0 / 0.9576 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.00872, allocations: 4 kB / 0.9576 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.008725, allocations: 7.938 kB / 0.9576 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008726, allocations: 0 / 0.9576 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.009059, allocations: 388.1 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.00908, allocations: 19.84 kB / 0.958 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.009099, allocations: 11.94 kB / 0.958 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.009172, allocations: 16.02 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.009218, allocations: 27.91 kB / 0.9581 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.009227, allocations: 8 kB / 0.9581 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.009281, allocations: 121.2 kB / 0.9582 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009281, allocations: 0 / 0.9582 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001699/0.009451, allocations: 31.95 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.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.0004992/0.00995, allocations: 0.9164 MB / 0.9591 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.01019, allocations: 151.8 kB / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01019, allocations: 0 / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.01029, allocations: 80.27 kB / 0.9593 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.0105, allocations: 30.16 kB / 0.9594 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.01212, allocations: 2.115 MB / 0.9614 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.028e-05/0.01218, allocations: 108.5 kB / 0.9615 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.68e-05/0.01223, allocations: 21.47 kB / 0.9616 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.0123, allocations: 56.48 kB / 0.9616 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.0123, allocations: 0 / 0.9616 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.02802, allocations: 4.392 MB / 0.9659 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/6.742, allocations: 7.844 kB / 0.9659 GB, free: 3.336 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.7533343648538]