Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.00133/0.00133, 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.001282/0.001282, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.403/2.403, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.78 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2217, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.5942/0.816, allocations: 218.2 MB / 1.266 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02262/0.8386, allocations: 26.48 MB / 1.292 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.84, allocations: 31.38 kB / 1.292 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.8421, allocations: 1.152 MB / 1.293 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005548/0.8477, allocations: 3.142 MB / 1.296 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.8507, allocations: 1.644 MB / 1.298 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003003/0.8537, allocations: 3.851 MB / 1.301 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.8551, allocations: 1.451 MB / 1.303 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.8582, allocations: 2.271 MB / 1.305 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.8595, allocations: 1.481 MB / 1.306 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.8597, allocations: 124.4 kB / 1.307 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.8625, allocations: 1.769 MB / 1.308 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.863, allocations: 0.8601 MB / 1.309 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008689/0.8639, allocations: 1.171 MB / 1.31 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.8663, allocations: 2.971 MB / 1.313 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.8663, allocations: 3 kB / 1.313 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8663, allocations: 0 / 1.313 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.8663, allocations: 0.8438 kB / 1.313 GB, free: 0.9414 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003111/0.8695, allocations: 2.861 MB / 1.316 GB, free: 15.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.8695, allocations: 11.28 kB / 1.316 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.8697, allocations: 197.1 kB / 1.316 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.8711, allocations: 445.7 kB / 1.317 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.8734, allocations: 2.73 MB / 1.319 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.8734, allocations: 101.8 kB / 1.319 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.8735, allocations: 124.8 kB / 1.32 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.8752, allocations: 1.599 MB / 1.321 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.8752, allocations: 8.531 kB / 1.321 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/0.8753, allocations: 51.56 kB / 1.321 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-05/0.8754, allocations: 94.31 kB / 1.321 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.8766, allocations: 1.056 MB / 1.322 GB, free: 14.31 MB / 1.014 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.00564/0.8822, allocations: 8.497 MB / 1.331 GB, free: 9.016 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.883, allocations: 0.7388 MB / 1.331 GB, free: 8.879 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.8833, allocations: 308.5 kB / 1.332 GB, free: 8.836 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.8838, allocations: 0.6113 MB / 1.332 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.8838, allocations: 41.75 kB / 1.332 GB, free: 8.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 1.663e-06/0.8838, allocations: 4 kB / 1.332 GB, free: 8.133 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.001239/0.885, allocations: 0.9701 MB / 1.333 GB, free: 7.969 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.8851, allocations: 162.4 kB / 1.333 GB, free: 7.781 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003534/0.8887, allocations: 4.693 MB / 1.338 GB, free: 7.562 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.8887, allocations: 38.2 kB / 1.338 GB, free: 7.527 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/0.8894, allocations: 1.065 MB / 1.339 GB, free: 7.316 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.8895, allocations: 180.4 kB / 1.339 GB, free: 7.199 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.8896, allocations: 91.91 kB / 1.339 GB, free: 7.184 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.8897, allocations: 326 kB / 1.34 GB, free: 6.879 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.89, allocations: 219.5 kB / 1.34 GB, free: 6.879 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.8903, allocations: 315.8 kB / 1.34 GB, free: 6.785 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.8909, allocations: 0.5571 MB / 1.341 GB, free: 6.688 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.891, allocations: 2.406 kB / 1.341 GB, free: 6.688 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009112/0.8919, allocations: 0.8079 MB / 1.341 GB, free: 6.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.8919, allocations: 5.375 kB / 1.341 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8919, allocations: 6.812 kB / 1.341 GB, free: 6.516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8919, allocations: 8.656 kB / 1.341 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.8923, allocations: 108 kB / 1.342 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8923, allocations: 7.625 kB / 1.342 GB, free: 6.508 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.8929, allocations: 97.19 kB / 1.342 GB, free: 6.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.893, allocations: 21.34 kB / 1.342 GB, free: 6.449 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0004883/0.8935, allocations: 0.5426 MB / 1.342 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.8938, allocations: 232.2 kB / 1.342 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009624/0.8947, allocations: 0.8032 MB / 1.343 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.8947, allocations: 14.28 kB / 1.343 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8948, allocations: 0 / 1.343 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.8948, allocations: 6.188 kB / 1.343 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.897, allocations: 2.095 MB / 1.345 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.897, allocations: 3 kB / 1.345 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.8974, allocations: 95.11 kB / 1.345 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.8974, allocations: 6.031 kB / 1.345 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.8974, allocations: 12.11 kB / 1.345 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8974, allocations: 5.156 kB / 1.345 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8974, allocations: 2.531 kB / 1.345 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.8987, allocations: 1.283 MB / 1.347 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.8992, allocations: 411 kB / 1.347 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.8994, allocations: 13.91 kB / 1.347 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.9, allocations: 20.98 kB / 1.347 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.9001, allocations: 38.83 kB / 1.347 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.9001, allocations: 21.28 kB / 1.347 GB, free: 4.941 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002653/0.9028, allocations: 3.507 MB / 1.351 GB, free: 4.797 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9028, allocations: 4 kB / 1.351 GB, free: 4.793 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008823/0.9037, allocations: 477.2 kB / 1.351 GB, free: 4.734 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * 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.002456/0.9061, allocations: 2.248 MB / 1.353 GB, free: 3.762 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007991/0.907, allocations: 0.6084 MB / 1.354 GB, free: 3.742 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.907, allocations: 2.594 kB / 1.354 GB, free: 3.742 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.9073, allocations: 288.2 kB / 1.354 GB, free: 3.742 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/0.9103, allocations: 0.8665 MB / 1.355 GB, free: 3.578 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/0.9288, allocations: 21.39 MB / 1.376 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009971/0.9298, allocations: 1.636 MB / 1.377 GB, free: 7.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00118/0.931, allocations: 466 kB / 1.378 GB, free: 6.789 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008578/0.9319, allocations: 0.9406 MB / 1.379 GB, free: 5.852 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.9319, allocations: 0 / 1.379 GB, free: 5.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.166/8.098, allocations: 48.69 MB / 1.426 GB, free: 5.73 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/16.23, allocations: 3 kB / 1.426 GB, free: 5.73 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches