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.001265/0.001265, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001471/0.001471, allocations: 216 kB / 22.25 MB, free: 5.105 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.824 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.953/2.953, allocations: 0.49 GB / 0.7951 GB, free: 35.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.001893/0.001893, allocations: 66 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3122, allocations: 176.1 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2258/0.5381, allocations: 189.4 MB / 1.511 GB, free: 3.438 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.5527, allocations: 9.487 MB / 1.52 GB, free: 9.93 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.5543, allocations: 51.62 kB / 1.52 GB, free: 9.879 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.5565, allocations: 0.7924 MB / 1.521 GB, free: 9.082 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00741/0.564, allocations: 3.022 MB / 1.524 GB, free: 6.047 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.5675, allocations: 1.459 MB / 1.525 GB, free: 4.59 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004528/0.5721, allocations: 3.236 MB / 1.528 GB, free: 1.344 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.5733, allocations: 0.7766 MB / 1.529 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.5756, allocations: 1.316 MB / 1.53 GB, free: 15.23 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.578, allocations: 1.128 MB / 1.532 GB, free: 14.1 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.5782, allocations: 124 kB / 1.532 GB, free: 13.98 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00506/0.5833, allocations: 2.263 MB / 1.534 GB, free: 11.71 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0006509/0.5839, allocations: 0.5024 MB / 1.534 GB, free: 11.2 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0008674/0.5848, allocations: 0.6069 MB / 1.535 GB, free: 10.59 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.5896, allocations: 2.737 MB / 1.538 GB, free: 7.848 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5896, allocations: 0 / 1.538 GB, free: 7.848 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5896, allocations: 0 / 1.538 GB, free: 7.848 MB / 1.233 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.5896, allocations: 3.938 kB / 1.538 GB, free: 7.844 MB / 1.233 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.004284/0.5939, allocations: 1.76 MB / 1.539 GB, free: 6.043 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5939, allocations: 12.03 kB / 1.539 GB, free: 6.031 MB / 1.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002043/0.5941, allocations: 152 kB / 1.54 GB, free: 5.875 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/0.5971, allocations: 438.7 kB / 1.54 GB, free: 5.445 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.5988, allocations: 0.8188 MB / 1.541 GB, free: 4.594 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.5988, allocations: 73.98 kB / 1.541 GB, free: 4.523 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.599, allocations: 92 kB / 1.541 GB, free: 4.434 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.6012, allocations: 1.402 MB / 1.542 GB, free: 2.945 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.6012, allocations: 3.938 kB / 1.542 GB, free: 2.941 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6013, allocations: 44 kB / 1.542 GB, free: 2.898 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-05/0.6014, allocations: 57.86 kB / 1.542 GB, free: 2.844 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.6032, allocations: 1.062 MB / 1.543 GB, free: 1.777 MB / 1.233 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.005276/0.6085, allocations: 3.142 MB / 1.546 GB, free: 14.55 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.6099, allocations: 0.7993 MB / 1.547 GB, free: 13.74 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.611, allocations: 0.5653 MB / 1.548 GB, free: 13.18 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.6114, allocations: 84.58 kB / 1.548 GB, free: 13.1 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.6114, allocations: 43.22 kB / 1.548 GB, free: 13.05 MB / 1.248 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.6114, allocations: 0 / 1.548 GB, free: 13.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=83): time 0.004301/0.6157, allocations: 2.238 MB / 1.55 GB, free: 10.77 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6158, allocations: 68.34 kB / 1.55 GB, free: 10.69 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/0.6166, allocations: 0.6411 MB / 1.551 GB, free: 10.04 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.6167, allocations: 41.7 kB / 1.551 GB, free: 9.996 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.617, allocations: 460.9 kB / 1.551 GB, free: 9.539 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.6173, allocations: 313.3 kB / 1.552 GB, free: 9.23 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.6176, allocations: 130.6 kB / 1.552 GB, free: 9.098 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.6178, allocations: 398.7 kB / 1.552 GB, free: 8.699 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.6183, allocations: 317.8 kB / 1.552 GB, free: 8.391 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.6189, allocations: 430.5 kB / 1.553 GB, free: 7.941 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.6201, allocations: 0.7846 MB / 1.554 GB, free: 7.133 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6201, allocations: 4 kB / 1.554 GB, free: 7.129 MB / 1.248 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001584/0.6217, allocations: 0.9507 MB / 1.555 GB, free: 6.164 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6217, allocations: 8 kB / 1.555 GB, free: 6.156 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6217, allocations: 3.938 kB / 1.555 GB, free: 6.152 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/0.622, allocations: 56.83 kB / 1.555 GB, free: 6.094 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/0.6227, allocations: 159.7 kB / 1.555 GB, free: 5.938 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005058/0.6232, allocations: 0.6032 MB / 1.555 GB, free: 5.309 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007911/0.624, allocations: 28.23 kB / 1.555 GB, free: 5.281 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.6241, allocations: 28 kB / 1.555 GB, free: 5.254 MB / 1.248 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.0004784/0.6245, allocations: 306.3 kB / 1.556 GB, free: 4.945 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.6247, allocations: 99.39 kB / 1.556 GB, free: 4.848 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.6263, allocations: 0.9207 MB / 1.557 GB, free: 3.918 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6263, allocations: 12 kB / 1.557 GB, free: 3.906 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6263, allocations: 3.984 kB / 1.557 GB, free: 3.902 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/0.6276, allocations: 0.9348 MB / 1.558 GB, free: 2.922 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.6308, allocations: 1.918 MB / 1.559 GB, free: 0.957 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6308, allocations: 0 / 1.559 GB, free: 0.957 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/0.6317, allocations: 187.8 kB / 1.56 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.6317, allocations: 7.938 kB / 1.56 GB, free: 0.7656 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.6318, allocations: 27.98 kB / 1.56 GB, free: 0.7383 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.6318, allocations: 0 / 1.56 GB, free: 0.7383 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6318, allocations: 0 / 1.56 GB, free: 0.7383 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.6339, allocations: 1.393 MB / 1.561 GB, free: 15.33 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.6343, allocations: 179.3 kB / 1.561 GB, free: 15.15 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.6345, allocations: 16 kB / 1.561 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.6352, allocations: 24.92 kB / 1.561 GB, free: 15.11 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.6353, allocations: 56.89 kB / 1.561 GB, free: 15.06 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.6353, allocations: 24 kB / 1.561 GB, free: 15.04 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005634/0.6359, allocations: 463 kB / 1.562 GB, free: 14.59 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6359, allocations: 4 kB / 1.562 GB, free: 14.58 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008342/0.6367, allocations: 319.9 kB / 1.562 GB, free: 14.27 MB / 1.264 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.002618/0.6394, allocations: 2.043 MB / 1.564 GB, free: 12.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.6408, allocations: 0.77 MB / 1.565 GB, free: 11.43 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6408, allocations: 0 / 1.565 GB, free: 11.43 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.6414, allocations: 422 kB / 1.565 GB, free: 11.02 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.6438, allocations: 0.5891 MB / 1.566 GB, free: 10.45 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.6549, allocations: 7.562 MB / 1.573 GB, free: 2.703 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.6554, allocations: 0.532 MB / 1.574 GB, free: 2.137 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009211/0.6563, allocations: 255.6 kB / 1.574 GB, free: 1.883 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/0.6569, allocations: 387.3 kB / 1.574 GB, free: 1.504 MB / 1.264 GB Notification: Performance of SimCode: time 8.71e-07/0.6569, allocations: 4 kB / 1.574 GB, free: 1.5 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0662/0.7231, allocations: 31.11 MB / 1.605 GB, free: 3.027 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.54, allocations: 6.656 kB / 1.605 GB, free: 3.023 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.404207735991804]