Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",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.001633/0.001633, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.196/1.196, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.07/2.07, allocations: 390.3 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4823, allocations: 140.4 MB / 0.9497 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.1755/0.6578, allocations: 198.6 MB / 1.144 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00993/0.6677, allocations: 9.443 MB / 1.153 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.6683, allocations: 15.94 kB / 1.153 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.6695, allocations: 0.6137 MB / 1.154 GB, free: 348 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.6733, allocations: 2.022 MB / 1.156 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.6748, allocations: 0.7332 MB / 1.156 GB, free: 13.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.6766, allocations: 2.107 MB / 1.158 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008003/0.6774, allocations: 0.7674 MB / 1.159 GB, free: 10.69 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.6792, allocations: 1.351 MB / 1.16 GB, free: 9.332 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.68, allocations: 0.7354 MB / 1.161 GB, free: 8.594 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.6801, allocations: 72 kB / 1.161 GB, free: 8.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.6828, allocations: 1.937 MB / 1.163 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.6831, allocations: 351 kB / 1.163 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.6835, allocations: 0.5015 MB / 1.164 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.6855, allocations: 1.831 MB / 1.166 GB, free: 3.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6855, allocations: 4 kB / 1.166 GB, free: 3.895 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6855, allocations: 0 / 1.166 GB, free: 3.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.6855, allocations: 0 / 1.166 GB, free: 3.895 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002949/0.6885, allocations: 1.436 MB / 1.167 GB, free: 2.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.6885, allocations: 12.03 kB / 1.167 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.6887, allocations: 122.5 kB / 1.167 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/0.6892, allocations: 158.7 kB / 1.167 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.6899, allocations: 0.5565 MB / 1.168 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.69, allocations: 57.98 kB / 1.168 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.6901, allocations: 68 kB / 1.168 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.6912, allocations: 0.8548 MB / 1.169 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.6912, allocations: 3.938 kB / 1.169 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/0.6913, allocations: 31.98 kB / 1.169 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.6913, allocations: 49.97 kB / 1.169 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.6925, allocations: 0.7652 MB / 1.17 GB, free: 15.66 MB / 0.9356 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.004297/0.6968, allocations: 4.545 MB / 1.174 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.6975, allocations: 422 kB / 1.174 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.6978, allocations: 189.4 kB / 1.175 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005853/0.6983, allocations: 0.7638 MB / 1.175 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.6984, allocations: 34.89 kB / 1.175 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.6984, allocations: 0 / 1.175 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.001098/0.6995, allocations: 0.6102 MB / 1.176 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.6995, allocations: 55.41 kB / 1.176 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/0.7004, allocations: 0.868 MB / 1.177 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.7005, allocations: 29.7 kB / 1.177 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.7007, allocations: 391.7 kB / 1.177 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/0.7008, allocations: 141.9 kB / 1.177 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.701, allocations: 94.16 kB / 1.178 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7011, allocations: 326 kB / 1.178 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.7014, allocations: 189 kB / 1.178 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.7017, allocations: 277.5 kB / 1.178 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.7024, allocations: 446.6 kB / 1.179 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7024, allocations: 0 / 1.179 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008844/0.7033, allocations: 0.5894 MB / 1.179 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.7033, allocations: 4 kB / 1.179 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.7033, allocations: 4 kB / 1.179 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.7033, allocations: 7.938 kB / 1.179 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.7038, allocations: 103.8 kB / 1.179 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.7038, allocations: 16.14 kB / 1.179 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.7043, allocations: 75.11 kB / 1.18 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.7043, allocations: 20.06 kB / 1.18 GB, free: 4.676 MB / 0.9356 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 (57): * Single equations (assignments): 57 * 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.0002494/0.7046, allocations: 241.7 kB / 1.18 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.7047, allocations: 83.06 kB / 1.18 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/0.7056, allocations: 0.5592 MB / 1.18 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.7056, allocations: 11.94 kB / 1.18 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7056, allocations: 0 / 1.18 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7056, allocations: 0 / 1.18 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.7083, allocations: 2.118 MB / 1.182 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.7083, allocations: 4 kB / 1.182 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.7087, allocations: 87.83 kB / 1.183 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.7087, allocations: 16.62 kB / 1.183 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.7088, allocations: 16 kB / 1.183 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.7088, allocations: 15.94 kB / 1.183 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.7088, allocations: 8 kB / 1.183 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.7099, allocations: 0.9841 MB / 1.184 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.7102, allocations: 215.9 kB / 1.184 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.7103, allocations: 20.05 kB / 1.184 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.7108, allocations: 12 kB / 1.184 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.7109, allocations: 55.78 kB / 1.184 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.7109, allocations: 27.98 kB / 1.184 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006472/0.7115, allocations: 0.6239 MB / 1.185 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7116, allocations: 0 / 1.185 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006008/0.7122, allocations: 247.6 kB / 1.185 GB, free: 15.04 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * 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 (48): * Single equations (assignments): 48 * 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.001661/0.7138, allocations: 1.647 MB / 1.186 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007398/0.7146, allocations: 475.8 kB / 1.187 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7146, allocations: 0 / 1.187 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.7149, allocations: 229.2 kB / 1.187 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.7169, allocations: 0.4909 MB / 1.188 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007337/0.7243, allocations: 6.877 MB / 1.194 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.7248, allocations: 1.008 MB / 1.195 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005987/0.7254, allocations: 183.1 kB / 1.195 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.7258, allocations: 295.3 kB / 1.196 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.7258, allocations: 0 / 1.196 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.979/3.705, allocations: 24.1 MB / 1.219 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/14.05, allocations: 11.73 kB / 1.219 GB, free: 11.63 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches