Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",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.0009417/0.0009419, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008086/0.0008086, allocations: 168.7 kB / 15.95 MB, free: 204 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.388/1.388, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.474/2.474, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.000382, allocations: 15.98 kB / 0.8378 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6919/0.6923, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.001879/0.6942, allocations: 1.308 MB / 0.9825 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.6957, allocations: 1.135 MB / 0.9836 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.6959, allocations: 8 kB / 0.9836 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.693e-05/0.696, allocations: 27.66 kB / 0.9836 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.6962, allocations: 31.66 kB / 0.9836 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.6965, allocations: 127.9 kB / 0.9838 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.6969, allocations: 444.3 kB / 0.9842 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.6973, allocations: 214.3 kB / 0.9844 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.6975, allocations: 131.3 kB / 0.9845 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.6977, allocations: 167.1 kB / 0.9847 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.6977, allocations: 16 kB / 0.9847 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.6978, allocations: 12 kB / 0.9847 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.6978, allocations: 63.64 kB / 0.9848 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.6979, allocations: 89.45 kB / 0.9848 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.6983, allocations: 0.5125 MB / 0.9853 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6983, allocations: 0 / 0.9853 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6983, allocations: 0 / 0.9853 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.6983, allocations: 0 / 0.9853 GB, free: 1.973 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001136/0.6995, allocations: 0.7132 MB / 0.986 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6995, allocations: 8.031 kB / 0.9861 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.859e-05/0.6996, allocations: 86.52 kB / 0.9861 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.6997, allocations: 51.34 kB / 0.9862 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.7008, allocations: 0.5145 MB / 0.9867 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.7009, allocations: 41 kB / 0.9867 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.701, allocations: 44 kB / 0.9868 GB, free: 428 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.702, allocations: 0.5173 MB / 0.9873 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.702, allocations: 0 / 0.9873 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.7021, allocations: 20 kB / 0.9873 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.7021, allocations: 16 kB / 0.9873 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.7033, allocations: 465.4 kB / 0.9877 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.7049, allocations: 1.243 MB / 0.989 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008837/0.7058, allocations: 417.5 kB / 0.9894 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/0.7064, allocations: 254.5 kB / 0.9896 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.7064, allocations: 4 kB / 0.9896 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.7065, allocations: 46.5 kB / 0.9897 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.7065, allocations: 0 / 0.9897 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001758/0.7082, allocations: 0.6334 MB / 0.9903 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.7083, allocations: 110.8 kB / 0.9904 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.7086, allocations: 278.7 kB / 0.9906 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.7086, allocations: 33.7 kB / 0.9907 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.7087, allocations: 224.2 kB / 0.9909 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.7088, allocations: 110.5 kB / 0.991 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.7088, allocations: 8 kB / 0.991 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7089, allocations: 346.8 kB / 0.9913 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.7095, allocations: 188.7 kB / 0.9915 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.71, allocations: 269.7 kB / 0.9918 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.7105, allocations: 186.6 kB / 0.9919 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7105, allocations: 4 kB / 0.992 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001165/0.7117, allocations: 0.5054 MB / 0.9924 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7117, allocations: 11.94 kB / 0.9925 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7118, allocations: 3.938 kB / 0.9925 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.7118, allocations: 8 kB / 0.9925 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.7123, allocations: 116 kB / 0.9926 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.7123, allocations: 4 kB / 0.9926 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.7126, allocations: 71.64 kB / 0.9927 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.7126, allocations: 19.98 kB / 0.9927 GB, free: 10.16 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002188/0.7129, allocations: 181.7 kB / 0.9928 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.7129, allocations: 31.62 kB / 0.9929 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.136e-05/0.713, allocations: 38.2 kB / 0.9929 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.7131, allocations: 8 kB / 0.9929 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7131, allocations: 3.938 kB / 0.9929 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7131, allocations: 0 / 0.9929 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.7137, allocations: 461 kB / 0.9934 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.7137, allocations: 0 / 0.9934 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.7141, allocations: 99.86 kB / 0.9935 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.7141, allocations: 4 kB / 0.9935 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.7141, allocations: 4 kB / 0.9935 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.7142, allocations: 4 kB / 0.9935 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7142, allocations: 0 / 0.9935 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.7154, allocations: 0.704 MB / 0.9942 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/0.7155, allocations: 116.6 kB / 0.9943 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.7155, allocations: 8 kB / 0.9943 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.7159, allocations: 51.95 kB / 0.9943 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.7161, allocations: 59.86 kB / 0.9944 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.7161, allocations: 19.98 kB / 0.9944 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001567/0.7163, allocations: 174 kB / 0.9946 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7163, allocations: 0 / 0.9946 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004296/0.7167, allocations: 87.59 kB / 0.9946 GB, free: 8.035 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.001568/0.7183, allocations: 1.27 MB / 0.9959 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.7195, allocations: 461.8 kB / 0.9963 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7195, allocations: 0 / 0.9963 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.7201, allocations: 255.7 kB / 0.9966 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.7207, allocations: 52.47 kB / 0.9966 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.7246, allocations: 2.151 MB / 0.9987 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.725, allocations: 0.8118 MB / 0.9995 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000278/0.7252, allocations: 54.97 kB / 0.9996 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.7255, allocations: 147.4 kB / 0.9997 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of SimCode: time 7.82e-07/0.7255, allocations: 0 / 0.9997 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.7442, allocations: 6.593 MB / 1.006 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.7444, allocations: 256.9 kB / 1.006 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.671, allocations: 3.656 kB / 1.006 GB, free: 12.04 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat