Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",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.001307/0.001307, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001691/0.001691, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 11.94 kB / 0.8147 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7855, allocations: 142.3 MB / 0.9537 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup): time 0.001388/0.787, allocations: 0.9825 MB / 0.9546 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.7883, allocations: 1.034 MB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.7885, allocations: 3.188 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.7885, allocations: 21.2 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.7887, allocations: 51 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.7889, allocations: 87.83 kB / 0.9558 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.7892, allocations: 202.2 kB / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.7894, allocations: 134.8 kB / 0.9561 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.967e-05/0.7896, allocations: 70.56 kB / 0.9562 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.7897, allocations: 106.5 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.7897, allocations: 8.875 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.7897, allocations: 9.156 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.7898, allocations: 46.27 kB / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.7898, allocations: 69.05 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.7901, allocations: 380.8 kB / 0.9568 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.7901, allocations: 4 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7901, allocations: 0 / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.7901, allocations: 0.875 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0007301/0.7908, allocations: 0.5582 MB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.7909, allocations: 10.03 kB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.7909, allocations: 60.77 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.791, allocations: 40.78 kB / 0.9574 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.7914, allocations: 319.9 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.7915, allocations: 20.94 kB / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.7915, allocations: 35.59 kB / 0.9578 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.792, allocations: 280.2 kB / 0.9581 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.792, allocations: 3.953 kB / 0.9581 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.792, allocations: 11.56 kB / 0.9581 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.792, allocations: 11.61 kB / 0.9581 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.7925, allocations: 250 kB / 0.9583 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.7936, allocations: 0.8671 MB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.7939, allocations: 132.5 kB / 0.9593 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.7939, allocations: 14.61 kB / 0.9593 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.7939, allocations: 39.92 kB / 0.9594 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.7939, allocations: 1.375 kB / 0.9594 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0005346/0.7945, allocations: 241.8 kB / 0.9596 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.7945, allocations: 61.48 kB / 0.9597 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.7948, allocations: 278.8 kB / 0.9599 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.7948, allocations: 27.45 kB / 0.9599 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.7949, allocations: 195.4 kB / 0.9601 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.7949, allocations: 58.78 kB / 0.9602 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.795, allocations: 9.25 kB / 0.9602 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.795, allocations: 328 kB / 0.9605 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.7952, allocations: 69.02 kB / 0.9606 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.7954, allocations: 119 kB / 0.9607 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.7955, allocations: 80.95 kB / 0.9608 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7955, allocations: 1.062 kB / 0.9608 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004416/0.796, allocations: 256.8 kB / 0.961 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.796, allocations: 6.906 kB / 0.961 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.796, allocations: 1.312 kB / 0.961 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.796, allocations: 6.781 kB / 0.961 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.7963, allocations: 52.69 kB / 0.9611 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7963, allocations: 3.625 kB / 0.9611 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.7964, allocations: 30.72 kB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.7965, allocations: 14.92 kB / 0.9611 GB, free: 2.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.7966, allocations: 143 kB / 0.9613 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.7966, allocations: 24.16 kB / 0.9613 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.7971, allocations: 242.7 kB / 0.9615 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7971, allocations: 2.25 kB / 0.9615 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7971, allocations: 5.125 kB / 0.9615 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7972, allocations: 3.984 kB / 0.9615 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.7979, allocations: 0.6571 MB / 0.9622 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7979, allocations: 1.875 kB / 0.9622 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.7981, allocations: 45.12 kB / 0.9622 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7981, allocations: 2.094 kB / 0.9622 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.7981, allocations: 7 kB / 0.9622 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.7981, allocations: 10.17 kB / 0.9622 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7981, allocations: 1.406 kB / 0.9622 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.7986, allocations: 389.1 kB / 0.9626 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.7986, allocations: 109.5 kB / 0.9627 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.7987, allocations: 6.375 kB / 0.9627 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.7989, allocations: 24.08 kB / 0.9627 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.7989, allocations: 23.92 kB / 0.9628 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.7989, allocations: 9.875 kB / 0.9628 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001563/0.7991, allocations: 201.4 kB / 0.963 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7991, allocations: 4.938 kB / 0.963 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003228/0.7994, allocations: 54.78 kB / 0.963 GB, free: 0.7148 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007174/0.8001, allocations: 1.204 MB / 0.9642 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.8005, allocations: 175.3 kB / 0.9644 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8006, allocations: 4.062 kB / 0.9644 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.8007, allocations: 85.05 kB / 0.9644 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.8011, allocations: 52.28 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.8038, allocations: 2.376 MB / 0.9668 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.8041, allocations: 0.7711 MB / 0.9676 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.8043, allocations: 43.42 kB / 0.9676 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.8045, allocations: 97.72 kB / 0.9677 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.8045, allocations: 0 / 0.9677 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.8211, allocations: 4.953 MB / 0.9725 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.8214, allocations: 249.2 kB / 0.9728 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.521, allocations: 0 / 0.9728 GB, free: 10.13 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat does not exist to compare? outputFormat=mat