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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007998/0.007998, allocations: 100.3 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 190.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00339/0.00339, allocations: 63.91 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7233/0.7267, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002363/0.7291, allocations: 1.337 MB / 1.167 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.8972, allocations: 148.1 MB / 1.312 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.8973, allocations: 0 / 1.312 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.8974, allocations: 3.984 kB / 1.312 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.8975, allocations: 19.84 kB / 1.312 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.8984, allocations: 330.6 kB / 1.312 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.8985, allocations: 67.7 kB / 1.312 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.8986, allocations: 11.98 kB / 1.312 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.8986, allocations: 27.97 kB / 1.312 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.8987, allocations: 31.84 kB / 1.313 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.8987, allocations: 4 kB / 1.313 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00077/0.8995, allocations: 410.8 kB / 1.313 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.8996, allocations: 15.97 kB / 1.313 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.8996, allocations: 31.86 kB / 1.313 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.8999, allocations: 151.3 kB / 1.313 GB, free: 12.69 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.8999, allocations: 0 / 1.313 GB, free: 12.69 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9, allocations: 0 / 1.313 GB, free: 12.69 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.9, allocations: 4 kB / 1.313 GB, free: 12.68 MB / 1.045 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.0004822/0.9005, allocations: 387.1 kB / 1.313 GB, free: 12.26 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.9005, allocations: 16.92 kB / 1.313 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.9005, allocations: 42.67 kB / 1.314 GB, free: 12.19 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.9009, allocations: 36.86 kB / 1.314 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.9011, allocations: 168.1 kB / 1.314 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.9011, allocations: 8 kB / 1.314 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.9011, allocations: 7.953 kB / 1.314 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.9013, allocations: 77.64 kB / 1.314 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.9013, allocations: 0 / 1.314 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.9013, allocations: 8 kB / 1.314 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9014, allocations: 4 kB / 1.314 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.9015, allocations: 51.89 kB / 1.314 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.9017, allocations: 185.5 kB / 1.314 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.9019, allocations: 86.7 kB / 1.314 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.902, allocations: 28.84 kB / 1.314 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.9022, allocations: 182.2 kB / 1.314 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.9022, allocations: 34.5 kB / 1.314 GB, free: 11.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.9023, allocations: 4 kB / 1.314 GB, free: 11.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001301/0.9036, allocations: 0.5468 MB / 1.315 GB, free: 10.58 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.9036, allocations: 51.41 kB / 1.315 GB, free: 10.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.9037, allocations: 101.8 kB / 1.315 GB, free: 10.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.9037, allocations: 29.7 kB / 1.315 GB, free: 10.37 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.9038, allocations: 84.45 kB / 1.315 GB, free: 10.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.9038, allocations: 71.39 kB / 1.315 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.9039, allocations: 45.69 kB / 1.315 GB, free: 10.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.904, allocations: 322.8 kB / 1.316 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.9041, allocations: 35.98 kB / 1.316 GB, free: 9.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.9042, allocations: 73.78 kB / 1.316 GB, free: 9.723 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.9044, allocations: 123.4 kB / 1.316 GB, free: 9.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9044, allocations: 0 / 1.316 GB, free: 9.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002306/0.9046, allocations: 157.5 kB / 1.316 GB, free: 9.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9047, allocations: 11.98 kB / 1.316 GB, free: 9.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.9047, allocations: 0 / 1.316 GB, free: 9.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.9047, allocations: 3.984 kB / 1.316 GB, free: 9.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.9049, allocations: 43.92 kB / 1.316 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.9049, allocations: 7.938 kB / 1.316 GB, free: 9.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.905, allocations: 4 kB / 1.316 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.905, allocations: 4 kB / 1.316 GB, free: 9.355 MB / 1.045 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.0001004/0.9051, allocations: 124 kB / 1.316 GB, free: 9.227 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.9051, allocations: 11.95 kB / 1.316 GB, free: 9.215 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.9052, allocations: 20.38 kB / 1.316 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.9052, allocations: 4 kB / 1.316 GB, free: 9.188 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.9052, allocations: 3.938 kB / 1.316 GB, free: 9.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9052, allocations: 7.922 kB / 1.316 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.9054, allocations: 189.6 kB / 1.316 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9054, allocations: 0 / 1.316 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.9056, allocations: 35.98 kB / 1.316 GB, free: 8.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.9056, allocations: 4 kB / 1.316 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.9056, allocations: 0 / 1.316 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.9056, allocations: 128 / 1.316 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.9056, allocations: 11.94 kB / 1.316 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.906, allocations: 215.1 kB / 1.317 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.9061, allocations: 89.09 kB / 1.317 GB, free: 8.559 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.9061, allocations: 4.062 kB / 1.317 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.9062, allocations: 4 kB / 1.317 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.9062, allocations: 23.88 kB / 1.317 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.9063, allocations: 4 kB / 1.317 GB, free: 8.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.9063, allocations: 87.27 kB / 1.317 GB, free: 8.438 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9063, allocations: 0 / 1.317 GB, free: 8.438 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002265/0.9065, allocations: 28 kB / 1.317 GB, free: 8.41 MB / 1.045 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.0006264/0.9072, allocations: 0.7452 MB / 1.318 GB, free: 7.633 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.9074, allocations: 106.3 kB / 1.318 GB, free: 7.531 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9074, allocations: 0 / 1.318 GB, free: 7.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.9075, allocations: 55.88 kB / 1.318 GB, free: 7.477 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.9078, allocations: 23.92 kB / 1.318 GB, free: 7.453 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.9097, allocations: 1.808 MB / 1.32 GB, free: 5.547 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.91, allocations: 0.7046 MB / 1.32 GB, free: 4.816 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.9102, allocations: 24.62 kB / 1.32 GB, free: 4.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.9102, allocations: 27.42 kB / 1.32 GB, free: 4.766 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/0.9102, allocations: 0 / 1.32 GB, free: 4.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.9343, allocations: 2.426 MB / 1.323 GB, free: 2.414 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.818, allocations: 4 kB / 1.323 GB, free: 2.41 MB / 1.045 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches