Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.396/2.396, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 179.5 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.1 MB / 0.7992 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009823/0.0009824, allocations: 106.2 kB / 0.9396 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 14.75 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3579, allocations: 143 MB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.21/0.568, allocations: 153.2 MB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.5684, allocations: 87.92 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.5841, allocations: 5.908 MB / 1.385 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5841, allocations: 0 / 1.385 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.255e-05/0.5842, allocations: 15.98 kB / 1.385 GB, free: 9.953 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001396/0.5856, allocations: 0.6744 MB / 1.386 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.5857, allocations: 16.45 kB / 1.386 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.5858, allocations: 78.53 kB / 1.386 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.586, allocations: 51.42 kB / 1.386 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.5867, allocations: 367.1 kB / 1.386 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.5868, allocations: 29 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/0.5868, allocations: 47.98 kB / 1.386 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.5877, allocations: 438.1 kB / 1.386 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5878, allocations: 3.938 kB / 1.386 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.5878, allocations: 16 kB / 1.387 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.5878, allocations: 8 kB / 1.387 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.5886, allocations: 343.8 kB / 1.387 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.5909, allocations: 1.293 MB / 1.388 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.5916, allocations: 311.6 kB / 1.388 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.5917, allocations: 0 / 1.388 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.5921, allocations: 216.6 kB / 1.389 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.5922, allocations: 0 / 1.389 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.0009335/0.5931, allocations: 387 kB / 1.389 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.5932, allocations: 158.2 kB / 1.389 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.5937, allocations: 364.8 kB / 1.389 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.5937, allocations: 33.69 kB / 1.39 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.5939, allocations: 224.3 kB / 1.39 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.594, allocations: 90.81 kB / 1.39 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.594, allocations: 4 kB / 1.39 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5941, allocations: 346.8 kB / 1.39 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.5944, allocations: 108 kB / 1.39 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.5947, allocations: 179.5 kB / 1.39 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.595, allocations: 128.5 kB / 1.391 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.595, allocations: 0 / 1.391 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006759/0.5957, allocations: 342.1 kB / 1.391 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.5958, allocations: 275 kB / 1.391 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5958, allocations: 0 / 1.391 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.5959, allocations: 4 kB / 1.391 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.5962, allocations: 63.91 kB / 1.391 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.5962, allocations: 7.984 kB / 1.391 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.5965, allocations: 55.66 kB / 1.391 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.5965, allocations: 12 kB / 1.391 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.5965, allocations: 2.188 kB / 1.391 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004893/0.597, allocations: 247.8 kB / 1.392 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5971, allocations: 64 / 1.392 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.5971, allocations: 11.94 kB / 1.392 GB, free: 2.809 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.5973, allocations: 55.97 kB / 1.392 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.5973, allocations: 0 / 1.392 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.5976, allocations: 55.64 kB / 1.392 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.5976, allocations: 8 kB / 1.392 GB, free: 2.691 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002367/0.5978, allocations: 241 kB / 1.392 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.5979, allocations: 39.48 kB / 1.392 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006727/0.5986, allocations: 336.7 kB / 1.392 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5986, allocations: 4 kB / 1.392 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5986, allocations: 4 kB / 1.392 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5986, allocations: 3.938 kB / 1.392 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.5999, allocations: 0.8683 MB / 1.393 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5999, allocations: 0 / 1.393 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.6002, allocations: 55.95 kB / 1.393 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.6002, allocations: 4.094 kB / 1.393 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.6002, allocations: 11.94 kB / 1.393 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.6003, allocations: 4 kB / 1.393 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6003, allocations: 0 / 1.393 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.6012, allocations: 0.5858 MB / 1.394 GB, free: 444 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.6014, allocations: 124.6 kB / 1.394 GB, free: 300 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.6014, allocations: 8 kB / 1.394 GB, free: 292 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.6017, allocations: 36.03 kB / 1.394 GB, free: 256 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.6018, allocations: 23.88 kB / 1.394 GB, free: 232 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.6018, allocations: 11.98 kB / 1.394 GB, free: 220 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003643/0.6022, allocations: 291.2 kB / 1.394 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6022, allocations: 0 / 1.394 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005359/0.6027, allocations: 127.5 kB / 1.394 GB, free: 15.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001506/0.6042, allocations: 1.348 MB / 1.396 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009481/0.6052, allocations: 391.7 kB / 1.396 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6052, allocations: 4 kB / 1.396 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.6055, allocations: 132.3 kB / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.6061, allocations: 77.5 kB / 1.396 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.6105, allocations: 2.514 MB / 1.399 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.611, allocations: 0.8118 MB / 1.399 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002699/0.6113, allocations: 47.25 kB / 1.4 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.6115, allocations: 139.4 kB / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.272e-06/0.6115, allocations: 0 / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.6352, allocations: 7.416 MB / 1.407 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.6356, allocations: 259.5 kB / 1.407 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.965, allocations: 2.578 kB / 1.407 GB, free: 2.711 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat does not exist to compare? outputFormat=mat