Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.0009174/0.0009171, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001161/0.001161, allocations: 172.7 kB / 15.95 MB, free: 208 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.456/1.456, allocations: 223.2 MB / 240 MB, free: 5.441 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.381/2.381, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8016/0.802, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001124/0.8031, allocations: 0.6704 MB / 0.9546 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.8041, allocations: 0.9581 MB / 0.9555 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.8042, allocations: 1.531 kB / 0.9555 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.8043, allocations: 13.52 kB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.8044, allocations: 17.5 kB / 0.9555 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.8046, allocations: 39.94 kB / 0.9556 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.8047, allocations: 140.6 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.8049, allocations: 61.95 kB / 0.9558 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.805, allocations: 44.66 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.8051, allocations: 57.22 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.8051, allocations: 4.219 kB / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.8052, allocations: 3.938 kB / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.8052, allocations: 20.98 kB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.8052, allocations: 44.33 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.8054, allocations: 147.8 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.8054, allocations: 4 kB / 0.9561 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8054, allocations: 0 / 0.9561 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8054, allocations: 0 / 0.9561 GB, free: 6.406 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.0005278/0.806, allocations: 428.1 kB / 0.9565 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.806, allocations: 9.469 kB / 0.9565 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.166e-05/0.8061, allocations: 46.67 kB / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.8061, allocations: 27.64 kB / 0.9566 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.8065, allocations: 256.2 kB / 0.9568 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.8066, allocations: 14.66 kB / 0.9568 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.8066, allocations: 12.53 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.807, allocations: 150.4 kB / 0.957 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.807, allocations: 3.938 kB / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.807, allocations: 8.984 kB / 0.957 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.807, allocations: 3.375 kB / 0.957 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.8073, allocations: 128.2 kB / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.808, allocations: 465 kB / 0.9575 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.8082, allocations: 107.1 kB / 0.9576 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.8084, allocations: 66.56 kB / 0.9577 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.8084, allocations: 5.453 kB / 0.9577 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.8085, allocations: 36.05 kB / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.8085, allocations: 0 / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005058/0.809, allocations: 179.9 kB / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.809, allocations: 61.58 kB / 0.958 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.8091, allocations: 152 kB / 0.9581 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.8092, allocations: 29.69 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.8092, allocations: 126.7 kB / 0.9583 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.8093, allocations: 27.88 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.8093, allocations: 5 kB / 0.9583 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.8093, allocations: 321 kB / 0.9586 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.8095, allocations: 43.66 kB / 0.9587 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.8096, allocations: 80.17 kB / 0.9587 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.8098, allocations: 47.91 kB / 0.9588 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8098, allocations: 4 kB / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003356/0.8101, allocations: 162 kB / 0.9589 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8102, allocations: 5.562 kB / 0.9589 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8102, allocations: 9.328 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8102, allocations: 1.312 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.8104, allocations: 29.05 kB / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.8104, allocations: 5.922 kB / 0.959 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.8105, allocations: 18.12 kB / 0.959 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.8105, allocations: 7.391 kB / 0.959 GB, free: 3.902 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 9.184e-05/0.8106, allocations: 138 kB / 0.9591 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.8106, allocations: 8.812 kB / 0.9591 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.8107, allocations: 15.3 kB / 0.9592 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8107, allocations: 6.297 kB / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8107, allocations: 0 / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.8107, allocations: 0 / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.8109, allocations: 233.8 kB / 0.9594 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8109, allocations: 3.938 kB / 0.9594 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.811, allocations: 29.3 kB / 0.9594 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.811, allocations: 0 / 0.9594 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.8111, allocations: 5.922 kB / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.8111, allocations: 0 / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8111, allocations: 5.797 kB / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.8114, allocations: 238 kB / 0.9597 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.8114, allocations: 89.27 kB / 0.9597 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.8115, allocations: 4 kB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.8116, allocations: 12.27 kB / 0.9598 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.8116, allocations: 19 kB / 0.9598 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.8117, allocations: 9.484 kB / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.8117, allocations: 110.3 kB / 0.9599 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8117, allocations: 0 / 0.9599 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002487/0.812, allocations: 22.31 kB / 0.9599 GB, free: 3.07 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.000511/0.8125, allocations: 0.788 MB / 0.9607 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.8128, allocations: 116.8 kB / 0.9608 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8128, allocations: 0 / 0.9608 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.813, allocations: 58.45 kB / 0.9609 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.8133, allocations: 17.69 kB / 0.9609 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.8146, allocations: 0.8127 MB / 0.9617 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.8148, allocations: 0.7151 MB / 0.9624 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.591e-05/0.8149, allocations: 16.58 kB / 0.9624 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.815, allocations: 43.42 kB / 0.9624 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.815, allocations: 0 / 0.9624 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.8277, allocations: 2.49 MB / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.828, allocations: 255.3 kB / 0.9651 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.534, allocations: 0 / 0.9651 GB, free: 15.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat