Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.007483/0.007483, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001742/0.001742, allocations: 194.2 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2692, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003734/0.273, allocations: 3.119 MB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.2747, allocations: 1.087 MB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.275, allocations: 19.88 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.2752, allocations: 95.06 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.2755, allocations: 111 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.2761, allocations: 338.3 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.2766, allocations: 0.6402 MB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.277, allocations: 250.1 kB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.2772, allocations: 223 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.2774, allocations: 210.8 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.2775, allocations: 52 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.2776, allocations: 52 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.2777, allocations: 111.6 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.2778, allocations: 242.6 kB / 1.173 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.2784, allocations: 0.6808 MB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2784, allocations: 3.938 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2784, allocations: 4 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.2784, allocations: 4 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001186/0.2796, allocations: 0.8369 MB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2797, allocations: 8.031 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.2797, allocations: 66.72 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.289e-05/0.2798, allocations: 64.56 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007826/0.2806, allocations: 0.5182 MB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2806, allocations: 21.03 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.2807, allocations: 40.31 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.2813, allocations: 370.9 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2813, allocations: 4 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.2814, allocations: 11.94 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2814, allocations: 8 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.2819, allocations: 254.1 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.2833, allocations: 1.421 MB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.284, allocations: 266.8 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.2842, allocations: 140.7 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2843, allocations: 11.97 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2843, allocations: 38.56 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.2843, allocations: 0 / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008129/0.2851, allocations: 358.9 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2852, allocations: 55.41 kB / 1.178 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.2856, allocations: 421.9 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2856, allocations: 29.7 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.2858, allocations: 268.4 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.2858, allocations: 79.33 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.2859, allocations: 57.97 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.286, allocations: 350.8 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.2863, allocations: 96.5 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.2866, allocations: 160.7 kB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.2871, allocations: 273.7 kB / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2871, allocations: 0 / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006167/0.2877, allocations: 346.1 kB / 1.18 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2877, allocations: 8 kB / 1.18 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2877, allocations: 3.938 kB / 1.18 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2877, allocations: 4 kB / 1.18 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.288, allocations: 63.89 kB / 1.18 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.288, allocations: 3.938 kB / 1.18 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.2882, allocations: 39.7 kB / 1.18 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2883, allocations: 12 kB / 1.18 GB, free: 9.137 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.2884, allocations: 177.8 kB / 1.18 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.2885, allocations: 43.72 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.37e-05/0.2886, allocations: 47.97 kB / 1.18 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2886, allocations: 0 / 1.18 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2886, allocations: 0 / 1.18 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2886, allocations: 7.938 kB / 1.18 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.2891, allocations: 433.2 kB / 1.18 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2891, allocations: 4 kB / 1.18 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.2893, allocations: 47.97 kB / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2894, allocations: 0 / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2894, allocations: 4 kB / 1.18 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2894, allocations: 7.938 kB / 1.18 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2894, allocations: 0 / 1.18 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/0.2902, allocations: 0.505 MB / 1.181 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2904, allocations: 148.7 kB / 1.181 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.2904, allocations: 0 / 1.181 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2906, allocations: 15.98 kB / 1.181 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.2907, allocations: 23.77 kB / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2907, allocations: 4 kB / 1.181 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002658/0.291, allocations: 295.1 kB / 1.181 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.291, allocations: 4.062 kB / 1.181 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002959/0.2913, allocations: 59.89 kB / 1.181 GB, free: 7.242 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/0.2923, allocations: 1.048 MB / 1.182 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005263/0.2929, allocations: 236.3 kB / 1.183 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2929, allocations: 4 kB / 1.183 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.2931, allocations: 127.7 kB / 1.183 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.2938, allocations: 126.3 kB / 1.183 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.2982, allocations: 3.507 MB / 1.186 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.2986, allocations: 0.8272 MB / 1.187 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.2987, allocations: 51.25 kB / 1.187 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.2989, allocations: 147.4 kB / 1.187 GB, free: 1 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.299, allocations: 0 / 1.187 GB, free: 1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.3253, allocations: 8.019 MB / 1.195 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.925, allocations: 4.781 kB / 1.195 GB, free: 9.199 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches