Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.545/2.545, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001592, allocations: 190.3 kB / 315.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.3 MB / 0.5662 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 94.45 kB / 0.6704 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.356e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.212, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8996/1.112, allocations: 146.5 MB / 1.027 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.112, allocations: 76.52 kB / 1.027 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1405/1.253, allocations: 32.63 MB / 1.059 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/1.253, allocations: 0 / 1.059 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001553/1.253, allocations: 31.94 kB / 1.059 GB, free: 13.62 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004297/1.257, allocations: 1.42 MB / 1.061 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/1.257, allocations: 12.03 kB / 1.061 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008324/1.258, allocations: 142.3 kB / 1.061 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/1.262, allocations: 0.8739 MB / 1.062 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.13e-05/1.262, allocations: 34.8 kB / 1.062 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/1.262, allocations: 55.95 kB / 1.062 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001439/1.264, allocations: 439.3 kB / 1.062 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/1.265, allocations: 0.6529 MB / 1.063 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/1.265, allocations: 0 / 1.063 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.266, allocations: 11.73 kB / 1.063 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/1.266, allocations: 16 kB / 1.063 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006896/1.273, allocations: 2.147 MB / 1.065 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/1.274, allocations: 0.5899 MB / 1.065 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/1.275, allocations: 251.2 kB / 1.066 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/1.275, allocations: 16.53 kB / 1.066 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/1.276, allocations: 418.2 kB / 1.066 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.587e-06/1.276, allocations: 4 kB / 1.066 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.002255/1.279, allocations: 0.703 MB / 1.067 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/1.279, allocations: 307.3 kB / 1.067 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.281, allocations: 0.7437 MB / 1.068 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002856/1.281, allocations: 45 kB / 1.068 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/1.281, allocations: 489.1 kB / 1.068 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/1.282, allocations: 215.9 kB / 1.068 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/1.282, allocations: 4 kB / 1.068 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.282, allocations: 348.1 kB / 1.069 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/1.283, allocations: 228.3 kB / 1.069 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.284, allocations: 0.5126 MB / 1.07 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/1.285, allocations: 273.4 kB / 1.07 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.285, allocations: 4 kB / 1.07 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002689/1.287, allocations: 0.8463 MB / 1.071 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001013/1.288, allocations: 2.223 MB / 1.073 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/1.288, allocations: 8 kB / 1.073 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.786e-05/1.288, allocations: 15.95 kB / 1.073 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.29, allocations: 151.7 kB / 1.073 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/1.29, allocations: 11.94 kB / 1.073 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.291, allocations: 97.89 kB / 1.073 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/1.291, allocations: 43.05 kB / 1.073 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.291, allocations: 4 kB / 1.073 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002239/1.294, allocations: 0.7109 MB / 1.074 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.294, allocations: 8 kB / 1.074 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.294, allocations: 8.125 kB / 1.074 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.295, allocations: 149.6 kB / 1.074 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/1.295, allocations: 19.92 kB / 1.074 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.296, allocations: 79.84 kB / 1.074 GB, free: 488 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.296, allocations: 42.55 kB / 1.074 GB, free: 452 kB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.timSerRes.timeConverted,timSerRes.timeConverted,$PRE.timSerInp.timeConverted,timSerInp.timeConverted,$PRE.csvWriter.str,csvWriter.str,$whenCondition10,$PRE.TOut_F.nextTimeEvent,$whenCondition9,$PRE.TSupSetpoint_F.nextTimeEvent,$whenCondition8,$PRE.coolingValveSignal.nextTimeEvent,$whenCondition7,$PRE.fanFeedback.nextTimeEvent,$whenCondition6,$PRE.fanStatus.nextTimeEvent,$whenCondition5,$PRE.TSupply_F.nextTimeEvent,$whenCondition12,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,correlation.active,$PRE.correlation.tActivateLast,correlation.tActivateLast,correlation.sampleTrigger,timSerRes.active,$PRE.timSerRes.tActivateLast,timSerRes.tActivateLast,timSerRes.sampleTrigger,timSerInp.active,timSerInp.activate_internal,$PRE.timSerInp.tActivateLast,timSerInp.tActivateLast,timSerInp.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger,coolingValveSignal.nextTimeEvent,$PRE.coolingValveSignal.nextTimeEventScaled,coolingValveSignal.nextTimeEventScaled,plotConfiguration.activate_internal,$whenCondition11,TOut_F.nextTimeEvent,$PRE.TOut_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,$PRE.TSupSetpoint_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,fanFeedback.nextTimeEvent,$PRE.fanFeedback.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,$PRE.fanStatus.nextTimeEventScaled,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,$PRE.TSupply_F.nextTimeEventScaled,TSupply_F.nextTimeEventScaled,cooValSta.uFanSta,cooValSta.limPI.trigger,$PRE.cooValSta.TOutThr.y,cooValSta.TOutThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.uFanFeeThr.y,$PRE.cooValSta.cha.u,cooValSta.cha.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 4 * 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.0004622/1.297, allocations: 205.3 kB / 1.074 GB, free: 244 kB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002111/1.299, allocations: 0.7053 MB / 1.075 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/1.299, allocations: 118.6 kB / 1.075 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.302, allocations: 0.7589 MB / 1.076 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.302, allocations: 12 kB / 1.076 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.302, allocations: 0 / 1.076 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.302, allocations: 3.984 kB / 1.076 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/1.306, allocations: 1.724 MB / 1.078 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.306, allocations: 0 / 1.078 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/1.307, allocations: 86.22 kB / 1.078 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.496e-05/1.307, allocations: 4 kB / 1.078 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.406e-05/1.307, allocations: 18.97 kB / 1.078 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/1.307, allocations: 8 kB / 1.078 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.307, allocations: 3.938 kB / 1.078 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/1.31, allocations: 1.152 MB / 1.079 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009447/1.311, allocations: 285.9 kB / 1.079 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/1.312, allocations: 19.05 kB / 1.079 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/1.313, allocations: 47.64 kB / 1.079 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.313, allocations: 82.97 kB / 1.079 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.313, allocations: 35.91 kB / 1.079 GB, free: 12.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00119/1.314, allocations: 0.5518 MB / 1.08 GB, free: 11.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.314, allocations: 0 / 1.08 GB, free: 11.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002264/1.317, allocations: 398 kB / 1.08 GB, free: 11.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooValSta.limPI.I.y) * Number of discrete variables: 44 (cooValSta.limPI.trigger,correlation.sampleTrigger,timSerRes.sampleTrigger,timSerInp.sampleTrigger,timSerInp.activate_internal,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TOut_F.nextTimeEvent,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,coolingValveSignal.nextTimeEventScaled,fanFeedback.nextTimeEvent,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,cooValSta.uFanSta,cooValSta.TOutThr.y,cooValSta.uFanFeeThr.y,cooValSta.cha.u,csvWriter.str,csvWriter.sampleTrigger,plotConfiguration.tActivateLast,correlation.active,correlation.tActivateLast,timSerRes.active,timSerRes.tActivateLast,timSerRes.timeConverted,timSerInp.active,timSerInp.tActivateLast,timSerInp.timeConverted) * Number of discrete states: 17 (TOut_F.nextTimeEvent,TSupSetpoint_F.nextTimeEvent,coolingValveSignal.nextTimeEvent,fanFeedback.nextTimeEvent,fanStatus.nextTimeEvent,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,fanStatus.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,cooValSta.uFanFeeThr.y,coolingValveSignal.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,cooValSta.TOutThr.y,cooValSta.cha.u,csvWriter.str,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 18 * 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.00468/1.321, allocations: 2.082 MB / 1.082 GB, free: 9.754 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003463/1.325, allocations: 1.451 MB / 1.084 GB, free: 8.496 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.325, allocations: 0 / 1.084 GB, free: 8.496 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009597/1.326, allocations: 372.3 kB / 1.084 GB, free: 8.211 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/1.328, allocations: 262.1 kB / 1.084 GB, free: 8.004 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/1.334, allocations: 1.456 MB / 1.086 GB, free: 6.664 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009042/1.335, allocations: 1.092 MB / 1.087 GB, free: 5.551 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0021/1.337, allocations: 320.7 kB / 1.087 GB, free: 5.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007898/1.338, allocations: 416.3 kB / 1.087 GB, free: 5.125 MB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/1.338, allocations: 4 kB / 1.087 GB, free: 5.121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/1.49, allocations: 25.03 MB / 1.112 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004325/1.491, allocations: 197.5 kB / 1.112 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/5.34, allocations: 0 / 1.112 GB, free: 11.94 MB / 0.7292 GB