Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.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.001256/0.001256, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.00138/0.00138, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.796/2.796, allocations: 0.49 GB / 0.7923 GB, free: 1.484 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 59.91 kB / 1.149 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9011/0.903, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001846/0.9049, allocations: 1.355 MB / 1.323 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1803/1.085, allocations: 151.4 MB / 1.471 GB, free: 9.27 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/1.085, allocations: 3.938 kB / 1.471 GB, free: 9.266 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.822e-05/1.085, allocations: 3.984 kB / 1.471 GB, free: 9.262 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/1.085, allocations: 15.2 kB / 1.471 GB, free: 9.25 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/1.087, allocations: 336 kB / 1.471 GB, free: 9.008 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/1.087, allocations: 68.03 kB / 1.471 GB, free: 8.973 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/1.087, allocations: 5.438 kB / 1.471 GB, free: 8.969 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/1.087, allocations: 32.12 kB / 1.471 GB, free: 8.953 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/1.087, allocations: 33.36 kB / 1.471 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/1.087, allocations: 2.531 kB / 1.471 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009032/1.088, allocations: 446.8 kB / 1.472 GB, free: 8.684 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/1.088, allocations: 25.11 kB / 1.472 GB, free: 8.664 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/1.088, allocations: 23.39 kB / 1.472 GB, free: 8.652 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/1.088, allocations: 159.4 kB / 1.472 GB, free: 8.57 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/1.088, allocations: 1.344 kB / 1.472 GB, free: 8.57 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.142e-06/1.088, allocations: 0 / 1.472 GB, free: 8.57 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.701e-06/1.088, allocations: 3.938 kB / 1.472 GB, free: 8.566 MB / 1.154 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.0005161/1.089, allocations: 386.5 kB / 1.472 GB, free: 8.172 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.089, allocations: 18.27 kB / 1.472 GB, free: 8.164 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.655e-05/1.089, allocations: 1.438 kB / 1.472 GB, free: 8.164 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/1.089, allocations: 41.08 kB / 1.472 GB, free: 8.117 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/1.089, allocations: 33.86 kB / 1.472 GB, free: 8.105 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/1.089, allocations: 169.4 kB / 1.472 GB, free: 7.902 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.089, allocations: 11.88 kB / 1.472 GB, free: 7.895 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/1.089, allocations: 12.33 kB / 1.472 GB, free: 7.887 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/1.09, allocations: 74.53 kB / 1.472 GB, free: 7.832 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.09, allocations: 3.938 kB / 1.472 GB, free: 7.828 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.09, allocations: 5.469 kB / 1.472 GB, free: 7.824 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.09, allocations: 1.156 kB / 1.472 GB, free: 7.824 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/1.09, allocations: 50.34 kB / 1.472 GB, free: 7.801 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/1.09, allocations: 188.2 kB / 1.473 GB, free: 7.582 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/1.09, allocations: 77.36 kB / 1.473 GB, free: 7.539 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/1.09, allocations: 33.75 kB / 1.473 GB, free: 7.516 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/1.09, allocations: 179.9 kB / 1.473 GB, free: 7.316 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.09, allocations: 36.06 kB / 1.473 GB, free: 7.273 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/1.09, allocations: 1.703 kB / 1.473 GB, free: 7.273 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001358/1.092, allocations: 0.5484 MB / 1.474 GB, free: 6.867 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.092, allocations: 56.53 kB / 1.474 GB, free: 6.801 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/1.092, allocations: 100.5 kB / 1.474 GB, free: 6.695 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/1.092, allocations: 36.23 kB / 1.474 GB, free: 6.656 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/1.092, allocations: 80.52 kB / 1.474 GB, free: 6.574 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/1.092, allocations: 67.36 kB / 1.474 GB, free: 6.516 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/1.092, allocations: 48.42 kB / 1.474 GB, free: 6.477 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.092, allocations: 324.2 kB / 1.474 GB, free: 6.152 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/1.092, allocations: 33.27 kB / 1.474 GB, free: 6.141 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/1.092, allocations: 66.62 kB / 1.474 GB, free: 6.09 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/1.093, allocations: 117.5 kB / 1.474 GB, free: 6.012 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.093, allocations: 4 kB / 1.474 GB, free: 6.008 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002462/1.093, allocations: 158.2 kB / 1.475 GB, free: 5.918 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.093, allocations: 5.5 kB / 1.475 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.093, allocations: 1.125 kB / 1.475 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.093, allocations: 2.312 kB / 1.475 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/1.093, allocations: 38.92 kB / 1.475 GB, free: 5.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/1.093, allocations: 10.16 kB / 1.475 GB, free: 5.902 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/1.093, allocations: 6.562 kB / 1.475 GB, free: 5.898 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.093, allocations: 4.219 kB / 1.475 GB, free: 5.898 MB / 1.154 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.0001065/1.093, allocations: 128.2 kB / 1.475 GB, free: 5.77 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/1.093, allocations: 9.203 kB / 1.475 GB, free: 5.766 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/1.093, allocations: 17.47 kB / 1.475 GB, free: 5.75 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.093, allocations: 1.594 kB / 1.475 GB, free: 5.75 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/1.093, allocations: 9.234 kB / 1.475 GB, free: 5.742 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.093, allocations: 0 / 1.475 GB, free: 5.742 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/1.093, allocations: 196.5 kB / 1.475 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.093, allocations: 1.062 kB / 1.475 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/1.094, allocations: 33.95 kB / 1.475 GB, free: 5.516 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.094, allocations: 1.5 kB / 1.475 GB, free: 5.516 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/1.094, allocations: 9.531 kB / 1.475 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.094, allocations: 1.312 kB / 1.475 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.094, allocations: 3.938 kB / 1.475 GB, free: 5.504 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/1.094, allocations: 208.2 kB / 1.475 GB, free: 5.371 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/1.094, allocations: 94.8 kB / 1.475 GB, free: 5.266 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/1.094, allocations: 1.125 kB / 1.475 GB, free: 5.266 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.094, allocations: 7.344 kB / 1.475 GB, free: 5.262 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/1.094, allocations: 17.3 kB / 1.475 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/1.094, allocations: 12.45 kB / 1.475 GB, free: 5.242 MB / 1.154 GB Notification: Performance of sorting global known variables: time 3.772e-05/1.094, allocations: 81.47 kB / 1.475 GB, free: 5.164 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.1e-08/1.094, allocations: 0 / 1.475 GB, free: 5.164 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002314/1.095, allocations: 30.53 kB / 1.475 GB, free: 5.156 MB / 1.154 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.0006234/1.095, allocations: 0.7451 MB / 1.476 GB, free: 4.484 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002019/1.095, allocations: 100.3 kB / 1.476 GB, free: 4.449 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.095, allocations: 0.7812 kB / 1.476 GB, free: 4.449 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/1.095, allocations: 47.33 kB / 1.476 GB, free: 4.434 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/1.096, allocations: 26.7 kB / 1.476 GB, free: 4.414 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/1.098, allocations: 1.831 MB / 1.478 GB, free: 2.801 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/1.098, allocations: 0.6976 MB / 1.479 GB, free: 2.098 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001113/1.098, allocations: 26.28 kB / 1.479 GB, free: 2.082 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/1.098, allocations: 27.86 kB / 1.479 GB, free: 2.062 MB / 1.154 GB Notification: Performance of SimCode: time 3.11e-07/1.098, allocations: 3.938 kB / 1.479 GB, free: 2.059 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/1.119, allocations: 2.479 MB / 1.481 GB, free: 0.75 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/9.223, allocations: 13.38 kB / 1.481 GB, free: 0.7422 MB / 1.154 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.297232583980076]