Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_10_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.001168/0.001168, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001194/0.001194, allocations: 194.4 kB / 16.25 MB, free: 6.637 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.15/1.15, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.169/2.169, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.449, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.1653/0.6143, allocations: 196.1 MB / 1.208 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009352/0.6237, allocations: 9.398 MB / 1.218 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.6241, allocations: 15.88 kB / 1.218 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.6252, allocations: 0.5326 MB / 1.218 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.6286, allocations: 1.899 MB / 1.22 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.63, allocations: 0.6737 MB / 1.221 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.6317, allocations: 2.112 MB / 1.223 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/0.6325, allocations: 0.7204 MB / 1.223 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.6341, allocations: 1.37 MB / 1.225 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.6348, allocations: 0.7744 MB / 1.226 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.825e-05/0.6349, allocations: 72 kB / 1.226 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.6372, allocations: 2.003 MB / 1.228 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.6375, allocations: 359 kB / 1.228 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.6379, allocations: 0.5014 MB / 1.228 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.6398, allocations: 1.948 MB / 1.23 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.6398, allocations: 0 / 1.23 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6398, allocations: 8 kB / 1.23 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.6398, allocations: 0 / 1.23 GB, free: 7.398 MB / 0.9825 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.002937/0.6427, allocations: 1.43 MB / 1.232 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.6428, allocations: 12.03 kB / 1.232 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.6429, allocations: 122.5 kB / 1.232 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.6435, allocations: 154.7 kB / 1.232 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.6441, allocations: 0.5565 MB / 1.233 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.6442, allocations: 53.98 kB / 1.233 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.6443, allocations: 71.98 kB / 1.233 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.6455, allocations: 0.8626 MB / 1.233 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6455, allocations: 0 / 1.233 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.6456, allocations: 24 kB / 1.233 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.6456, allocations: 53.97 kB / 1.234 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.6468, allocations: 0.7651 MB / 1.234 GB, free: 3.176 MB / 0.9825 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.004266/0.651, allocations: 4.525 MB / 1.239 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.6517, allocations: 426.1 kB / 1.239 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.652, allocations: 189.4 kB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005813/0.6526, allocations: 0.7639 MB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.6526, allocations: 34.89 kB / 1.24 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=40): time 1.413e-06/0.6526, allocations: 0 / 1.24 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.001072/0.6537, allocations: 0.5995 MB / 1.241 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.6537, allocations: 63.34 kB / 1.241 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.6546, allocations: 0.868 MB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.6547, allocations: 33.7 kB / 1.242 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.6549, allocations: 379.7 kB / 1.242 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.655, allocations: 145.9 kB / 1.242 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.6552, allocations: 94.16 kB / 1.242 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6553, allocations: 326 kB / 1.243 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.6556, allocations: 189 kB / 1.243 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.656, allocations: 277.6 kB / 1.243 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006168/0.6566, allocations: 450.6 kB / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6566, allocations: 0 / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008628/0.6575, allocations: 0.5816 MB / 1.244 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6575, allocations: 11.98 kB / 1.244 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6575, allocations: 0 / 1.244 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6575, allocations: 7.938 kB / 1.244 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.658, allocations: 112 kB / 1.244 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.658, allocations: 4 kB / 1.244 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.6586, allocations: 107 kB / 1.244 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.6586, allocations: 20 kB / 1.244 GB, free: 8.188 MB / 0.9981 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.0002437/0.6589, allocations: 245.6 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.659, allocations: 79.06 kB / 1.245 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008801/0.6599, allocations: 0.5632 MB / 1.245 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6599, allocations: 7.938 kB / 1.245 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.6599, allocations: 0 / 1.245 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6599, allocations: 48 / 1.245 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.6627, allocations: 2.125 MB / 1.247 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.6627, allocations: 7.938 kB / 1.247 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.663, allocations: 91.89 kB / 1.247 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.6631, allocations: 8 kB / 1.247 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.6631, allocations: 12 kB / 1.247 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.6631, allocations: 11.94 kB / 1.247 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6631, allocations: 12.41 kB / 1.247 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.6643, allocations: 0.9795 MB / 1.248 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.6645, allocations: 215.9 kB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.6647, allocations: 20 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.6652, allocations: 44.03 kB / 1.249 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.6653, allocations: 59.7 kB / 1.249 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.6653, allocations: 24 kB / 1.249 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006357/0.6659, allocations: 0.6278 MB / 1.249 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6659, allocations: 0 / 1.249 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005728/0.6665, allocations: 239.7 kB / 1.249 GB, free: 2.531 MB / 0.9981 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.001657/0.6682, allocations: 1.643 MB / 1.251 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007245/0.6689, allocations: 474.4 kB / 1.251 GB, free: 332 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6689, allocations: 0 / 1.251 GB, free: 332 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.6693, allocations: 236.8 kB / 1.252 GB, free: 96 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3495/1.019, allocations: 496.1 kB / 1.252 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/1.027, allocations: 7.125 MB / 1.259 GB, free: 232 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/1.027, allocations: 1.011 MB / 1.26 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007028/1.028, allocations: 185 kB / 1.26 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/1.028, allocations: 291.6 kB / 1.261 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.028, allocations: 0 / 1.261 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/1.071, allocations: 23.88 MB / 1.284 GB, free: 221 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/1.071, allocations: 257.9 kB / 1.284 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/3.141, allocations: 0 / 1.284 GB, free: 220.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches