Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.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.001728/0.001728, allocations: 110 kB / 16.46 MB, free: 6.035 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.001968/0.001968, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.91 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.671/2.671, allocations: 443.5 MB / 0.7287 GB, free: 13.2 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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.89 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8203, allocations: 160.7 MB / 1.213 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002516/0.8228, allocations: 1.338 MB / 1.214 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1951/1.018, allocations: 148.5 MB / 1.359 GB, free: 1.789 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/1.018, allocations: 4 kB / 1.359 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/1.018, allocations: 7.922 kB / 1.359 GB, free: 1.777 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/1.018, allocations: 11.92 kB / 1.359 GB, free: 1.766 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/1.019, allocations: 346.6 kB / 1.36 GB, free: 1.426 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/1.02, allocations: 59.83 kB / 1.36 GB, free: 1.367 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/1.02, allocations: 11.92 kB / 1.36 GB, free: 1.355 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.149e-05/1.02, allocations: 27.92 kB / 1.36 GB, free: 1.328 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/1.02, allocations: 31.89 kB / 1.36 GB, free: 1.297 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/1.02, allocations: 7.938 kB / 1.36 GB, free: 1.289 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/1.021, allocations: 438.5 kB / 1.36 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/1.021, allocations: 15.97 kB / 1.36 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/1.021, allocations: 31.86 kB / 1.36 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004654/1.021, allocations: 145.6 kB / 1.36 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.021, allocations: 4 kB / 1.36 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.667e-06/1.021, allocations: 4 kB / 1.36 GB, free: 0.668 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.742e-06/1.021, allocations: 0 / 1.36 GB, free: 0.668 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006232/1.022, allocations: 395 kB / 1.361 GB, free: 240 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.022, allocations: 12.92 kB / 1.361 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/1.022, allocations: 30.75 kB / 1.361 GB, free: 188 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/1.023, allocations: 44.84 kB / 1.361 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/1.023, allocations: 176 kB / 1.361 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/1.023, allocations: 4 kB / 1.361 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/1.023, allocations: 15.94 kB / 1.361 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/1.023, allocations: 77.64 kB / 1.361 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.023, allocations: 0 / 1.361 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/1.023, allocations: 8 kB / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.023, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/1.023, allocations: 43.95 kB / 1.361 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/1.024, allocations: 181.6 kB / 1.361 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/1.024, allocations: 98.67 kB / 1.361 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/1.024, allocations: 28.84 kB / 1.361 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/1.024, allocations: 174.2 kB / 1.362 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.024, allocations: 38.55 kB / 1.362 GB, free: 15.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/1.024, allocations: 4 kB / 1.362 GB, free: 15.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001508/1.026, allocations: 0.5477 MB / 1.362 GB, free: 14.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/1.026, allocations: 55.41 kB / 1.362 GB, free: 14.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/1.026, allocations: 101.8 kB / 1.362 GB, free: 14.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/1.026, allocations: 33.7 kB / 1.362 GB, free: 14.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/1.026, allocations: 84.52 kB / 1.362 GB, free: 14.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/1.026, allocations: 67.39 kB / 1.362 GB, free: 14.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/1.026, allocations: 41.56 kB / 1.362 GB, free: 14.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.026, allocations: 322.8 kB / 1.363 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/1.026, allocations: 31.98 kB / 1.363 GB, free: 13.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/1.026, allocations: 78.17 kB / 1.363 GB, free: 13.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/1.027, allocations: 119.3 kB / 1.363 GB, free: 13.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.027, allocations: 4 kB / 1.363 GB, free: 13.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002494/1.027, allocations: 149.5 kB / 1.363 GB, free: 13.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.027, allocations: 7.938 kB / 1.363 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.027, allocations: 0 / 1.363 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.027, allocations: 4 kB / 1.363 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/1.027, allocations: 43.97 kB / 1.363 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.027, allocations: 7.938 kB / 1.363 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/1.027, allocations: 8 kB / 1.363 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/1.027, allocations: 4 kB / 1.363 GB, free: 13.34 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001232/1.027, allocations: 121.8 kB / 1.363 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/1.027, allocations: 7.953 kB / 1.363 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/1.027, allocations: 20.44 kB / 1.363 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.027, allocations: 0 / 1.363 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.027, allocations: 7.875 kB / 1.363 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.027, allocations: 3.984 kB / 1.363 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/1.028, allocations: 193.6 kB / 1.364 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.028, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/1.028, allocations: 43.92 kB / 1.364 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.028, allocations: 3.938 kB / 1.364 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.028, allocations: 4 kB / 1.364 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.028, allocations: 0 / 1.364 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.028, allocations: 3.938 kB / 1.364 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/1.028, allocations: 210.6 kB / 1.364 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/1.028, allocations: 89.09 kB / 1.364 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/1.028, allocations: 8.062 kB / 1.364 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/1.029, allocations: 8 kB / 1.364 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/1.029, allocations: 19.81 kB / 1.364 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/1.029, allocations: 4.25 kB / 1.364 GB, free: 12.51 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.317e-05/1.029, allocations: 83.28 kB / 1.364 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.029, allocations: 0 / 1.364 GB, free: 12.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000244/1.029, allocations: 24 kB / 1.364 GB, free: 12.41 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0007608/1.03, allocations: 0.7491 MB / 1.365 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000237/1.03, allocations: 102.5 kB / 1.365 GB, free: 11.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.03, allocations: 4 kB / 1.365 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/1.03, allocations: 55.86 kB / 1.365 GB, free: 11.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/1.03, allocations: 15.94 kB / 1.365 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/1.032, allocations: 1.823 MB / 1.367 GB, free: 9.531 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/1.033, allocations: 0.7008 MB / 1.367 GB, free: 8.805 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001159/1.033, allocations: 16.73 kB / 1.367 GB, free: 8.789 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/1.033, allocations: 31.38 kB / 1.367 GB, free: 8.758 MB / 1.076 GB Notification: Performance of SimCode: time 8.02e-07/1.033, allocations: 0 / 1.367 GB, free: 8.758 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/1.062, allocations: 2.46 MB / 1.37 GB, free: 6.379 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/9.253, allocations: 8.094 kB / 1.37 GB, free: 6.375 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.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.214999238960445]