Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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.001335/0.001335, allocations: 103.7 kB / 16.45 MB, free: 6.504 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.001387/0.001387, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.382/1.382, allocations: 230.6 MB / 252.8 MB, free: 8.988 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 3.017/3.017, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",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.001969/0.001969, allocations: 72.42 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3106, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2325/0.5431, allocations: 217.5 MB / 1.533 GB, free: 9.047 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.5573, allocations: 10.24 MB / 1.543 GB, free: 14.78 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.5589, allocations: 55.56 kB / 1.543 GB, free: 14.73 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.5611, allocations: 0.8859 MB / 1.544 GB, free: 13.84 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006853/0.5679, allocations: 2.98 MB / 1.547 GB, free: 10.84 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.5714, allocations: 1.426 MB / 1.548 GB, free: 9.418 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.5759, allocations: 3.165 MB / 1.551 GB, free: 6.246 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.5773, allocations: 0.8426 MB / 1.552 GB, free: 5.379 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.5797, allocations: 1.308 MB / 1.554 GB, free: 4.066 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.582, allocations: 1.125 MB / 1.555 GB, free: 2.941 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.5822, allocations: 124 kB / 1.555 GB, free: 2.82 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005844/0.588, allocations: 2.895 MB / 1.558 GB, free: 15.92 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008166/0.5889, allocations: 0.5063 MB / 1.558 GB, free: 15.41 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.5901, allocations: 0.7351 MB / 1.559 GB, free: 14.67 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005663/0.5958, allocations: 2.819 MB / 1.562 GB, free: 11.84 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5958, allocations: 4 kB / 1.562 GB, free: 11.84 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5958, allocations: 0 / 1.562 GB, free: 11.84 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.5958, allocations: 0 / 1.562 GB, free: 11.84 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004158/0.5999, allocations: 1.837 MB / 1.563 GB, free: 9.945 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.6, allocations: 19.98 kB / 1.563 GB, free: 9.926 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.6002, allocations: 148 kB / 1.564 GB, free: 9.773 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.6031, allocations: 438.7 kB / 1.564 GB, free: 9.344 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.6047, allocations: 0.8949 MB / 1.565 GB, free: 8.406 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.6047, allocations: 73.94 kB / 1.565 GB, free: 8.336 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.6049, allocations: 99.98 kB / 1.565 GB, free: 8.238 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.6069, allocations: 1.202 MB / 1.566 GB, free: 7 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.6069, allocations: 0 / 1.566 GB, free: 7 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.607, allocations: 40 kB / 1.566 GB, free: 6.961 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/0.6071, allocations: 53.92 kB / 1.566 GB, free: 6.91 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.6089, allocations: 1.07 MB / 1.567 GB, free: 5.836 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.6146, allocations: 4.929 MB / 1.572 GB, free: 488 kB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.6161, allocations: 0.9412 MB / 1.573 GB, free: 15.49 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.6172, allocations: 0.5614 MB / 1.574 GB, free: 14.93 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/0.6178, allocations: 0.6772 MB / 1.574 GB, free: 14.11 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.6179, allocations: 43.22 kB / 1.574 GB, free: 14.05 MB / 1.279 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.6179, allocations: 3.938 kB / 1.574 GB, free: 14.05 MB / 1.279 GB Notification: Performance of matching and sorting (n=83): time 0.00433/0.6222, allocations: 2.318 MB / 1.577 GB, free: 11.68 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.6223, allocations: 64.41 kB / 1.577 GB, free: 11.61 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/0.6231, allocations: 0.6373 MB / 1.577 GB, free: 10.96 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.6231, allocations: 41.7 kB / 1.577 GB, free: 10.91 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.6235, allocations: 460.9 kB / 1.578 GB, free: 10.46 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6237, allocations: 309.3 kB / 1.578 GB, free: 10.15 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.6239, allocations: 138.6 kB / 1.578 GB, free: 10.01 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.6241, allocations: 394.7 kB / 1.579 GB, free: 9.617 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/0.6246, allocations: 317.8 kB / 1.579 GB, free: 9.305 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.6252, allocations: 422.5 kB / 1.579 GB, free: 8.863 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.6264, allocations: 0.7885 MB / 1.58 GB, free: 8.047 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6264, allocations: 3.938 kB / 1.58 GB, free: 8.043 MB / 1.279 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001568/0.628, allocations: 0.9546 MB / 1.581 GB, free: 7.082 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.628, allocations: 9.969 kB / 1.581 GB, free: 7.074 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.628, allocations: 4 kB / 1.581 GB, free: 7.07 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.6283, allocations: 56.83 kB / 1.581 GB, free: 7.012 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.629, allocations: 155.8 kB / 1.581 GB, free: 6.859 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005002/0.6295, allocations: 0.615 MB / 1.582 GB, free: 6.219 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/0.6302, allocations: 23.98 kB / 1.582 GB, free: 6.195 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.6303, allocations: 24 kB / 1.582 GB, free: 6.172 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000449/0.6307, allocations: 313.5 kB / 1.582 GB, free: 5.855 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.6309, allocations: 95.44 kB / 1.582 GB, free: 5.762 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.6325, allocations: 0.9324 MB / 1.583 GB, free: 4.82 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.6325, allocations: 11.94 kB / 1.583 GB, free: 4.809 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6325, allocations: 0 / 1.583 GB, free: 4.809 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/0.6338, allocations: 0.9271 MB / 1.584 GB, free: 3.828 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.6369, allocations: 2.11 MB / 1.586 GB, free: 1.668 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6369, allocations: 0 / 1.586 GB, free: 1.668 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009396/0.6378, allocations: 183.8 kB / 1.586 GB, free: 1.488 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.6378, allocations: 11.88 kB / 1.586 GB, free: 1.477 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.6379, allocations: 19.98 kB / 1.586 GB, free: 1.457 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.6379, allocations: 4 kB / 1.586 GB, free: 1.453 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6379, allocations: 0 / 1.586 GB, free: 1.453 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.6399, allocations: 1.404 MB / 1.588 GB, free: 32 kB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.6403, allocations: 252.4 kB / 1.588 GB, free: 15.77 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.6404, allocations: 24.05 kB / 1.588 GB, free: 15.74 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.6411, allocations: 20 kB / 1.588 GB, free: 15.72 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6412, allocations: 52.92 kB / 1.588 GB, free: 15.67 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.6413, allocations: 23.98 kB / 1.588 GB, free: 15.65 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0005628/0.6418, allocations: 455 kB / 1.588 GB, free: 15.21 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/0.6418, allocations: 0 / 1.588 GB, free: 15.21 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008821/0.6427, allocations: 327.9 kB / 1.589 GB, free: 14.89 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.002659/0.6454, allocations: 2.047 MB / 1.591 GB, free: 12.81 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.6468, allocations: 0.7781 MB / 1.592 GB, free: 12.04 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6468, allocations: 0 / 1.592 GB, free: 12.04 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.6475, allocations: 413.6 kB / 1.592 GB, free: 11.63 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.65, allocations: 0.5843 MB / 1.592 GB, free: 11.07 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6609, allocations: 7.555 MB / 1.6 GB, free: 3.324 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.6617, allocations: 1.12 MB / 1.601 GB, free: 2.176 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009806/0.6627, allocations: 251.8 kB / 1.601 GB, free: 1.926 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/0.6633, allocations: 391.3 kB / 1.602 GB, free: 1.543 MB / 1.295 GB Notification: Performance of SimCode: time 1.212e-06/0.6633, allocations: 0 / 1.602 GB, free: 1.543 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7505/1.414, allocations: 28.23 MB / 1.629 GB, free: 276.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/14.23, allocations: 8.016 kB / 1.629 GB, free: 276.4 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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: 20.56310890079476]