Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",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.001049/0.001049, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.00118/0.00118, allocations: 168.7 kB / 15.95 MB, free: 200 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.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.43 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.49/2.49, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7219, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001179/0.7232, allocations: 0.6742 MB / 0.9546 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.7245, allocations: 0.957 MB / 0.9555 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.7246, allocations: 2.875 kB / 0.9555 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.7247, allocations: 11.86 kB / 0.9555 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.7248, allocations: 13.41 kB / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.725, allocations: 49.75 kB / 0.9556 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.7252, allocations: 135.7 kB / 0.9557 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.7254, allocations: 61.69 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.7255, allocations: 48.75 kB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.7257, allocations: 49.92 kB / 0.9559 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.7257, allocations: 8.312 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.7257, allocations: 7.562 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.7257, allocations: 24.5 kB / 0.9559 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.7258, allocations: 44.3 kB / 0.9559 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.7259, allocations: 151.2 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.726, allocations: 1.25 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.726, allocations: 0 / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.726, allocations: 0 / 0.9561 GB, free: 6.324 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005649/0.7266, allocations: 429.8 kB / 0.9565 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7266, allocations: 9.125 kB / 0.9565 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.7267, allocations: 50.86 kB / 0.9565 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.7267, allocations: 20.17 kB / 0.9566 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.7271, allocations: 256.7 kB / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.7272, allocations: 9.844 kB / 0.9568 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.7272, allocations: 12.34 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.7276, allocations: 149.7 kB / 0.957 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7276, allocations: 5.406 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.7276, allocations: 9.453 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.7276, allocations: 2.875 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.7279, allocations: 123.7 kB / 0.9571 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.7285, allocations: 468.7 kB / 0.9576 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.7288, allocations: 112.2 kB / 0.9577 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.729, allocations: 55.14 kB / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.729, allocations: 1.344 kB / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.729, allocations: 39.92 kB / 0.9578 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.729, allocations: 0 / 0.9578 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005235/0.7296, allocations: 187.2 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.7296, allocations: 61.16 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.7297, allocations: 151.9 kB / 0.9581 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.7297, allocations: 25.7 kB / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.7298, allocations: 122.9 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.7298, allocations: 36.86 kB / 0.9583 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.7298, allocations: 4 kB / 0.9583 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.7299, allocations: 322.9 kB / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.73, allocations: 46.69 kB / 0.9587 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.7302, allocations: 75.2 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.7303, allocations: 48.48 kB / 0.9588 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7303, allocations: 3.938 kB / 0.9588 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000324/0.7306, allocations: 157.7 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7307, allocations: 5.5 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.7307, allocations: 4.922 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7307, allocations: 1.125 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.7309, allocations: 38.17 kB / 0.959 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7309, allocations: 1.375 kB / 0.959 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.731, allocations: 21.64 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.731, allocations: 3.969 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.464e-05/0.7311, allocations: 134.8 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.7311, allocations: 8.438 kB / 0.9592 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.7312, allocations: 18.8 kB / 0.9592 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7312, allocations: 5.141 kB / 0.9592 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7312, allocations: 5.031 kB / 0.9592 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7312, allocations: 0 / 0.9592 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.7314, allocations: 225.4 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7314, allocations: 0 / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.7315, allocations: 28.83 kB / 0.9594 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.7315, allocations: 1.344 kB / 0.9594 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.7315, allocations: 5.344 kB / 0.9594 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7316, allocations: 0 / 0.9594 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7316, allocations: 3.953 kB / 0.9594 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.7319, allocations: 241.8 kB / 0.9597 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.7319, allocations: 87.64 kB / 0.9597 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.7319, allocations: 0 / 0.9597 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.732, allocations: 15.61 kB / 0.9598 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.7321, allocations: 23.27 kB / 0.9598 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.7321, allocations: 2.469 kB / 0.9598 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.725e-05/0.7322, allocations: 114.4 kB / 0.9599 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7322, allocations: 0 / 0.9599 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002466/0.7324, allocations: 25.97 kB / 0.9599 GB, free: 3.004 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005353/0.733, allocations: 0.7865 MB / 0.9607 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.7333, allocations: 120.7 kB / 0.9608 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7333, allocations: 0 / 0.9608 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.7335, allocations: 62.59 kB / 0.9609 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.7338, allocations: 21.42 kB / 0.9609 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.7352, allocations: 0.8045 MB / 0.9617 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.7353, allocations: 0.7113 MB / 0.9624 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.605e-05/0.7354, allocations: 16.73 kB / 0.9624 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.7355, allocations: 47.47 kB / 0.9624 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.7355, allocations: 0 / 0.9624 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.7485, allocations: 2.51 MB / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.7488, allocations: 244.3 kB / 0.9651 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.499, allocations: 1.312 kB / 0.9651 GB, free: 15.45 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat