Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 224.6 kB / 22.26 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.025/3.025, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_12_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_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 78.05 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3309, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005047/0.3359, allocations: 3.168 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3383, allocations: 1.184 MB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.3388, allocations: 23.81 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3392, allocations: 95 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.3395, allocations: 115 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.3405, allocations: 377.9 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008235/0.3413, allocations: 0.6325 MB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.3416, allocations: 166.2 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.3421, allocations: 254.9 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.3424, allocations: 198.9 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.3425, allocations: 52 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3426, allocations: 56 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.3427, allocations: 119.5 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.3429, allocations: 242.6 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.3436, allocations: 0.6963 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3436, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3436, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.3437, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 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.001378/0.345, allocations: 0.7653 MB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3451, allocations: 12.03 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.827e-05/0.3452, allocations: 66.72 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.3455, allocations: 96.42 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000873/0.3464, allocations: 467.5 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.3464, allocations: 21.03 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.3464, allocations: 28.38 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.3471, allocations: 375.1 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3471, allocations: 7.938 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.3471, allocations: 8 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3471, allocations: 8 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.3477, allocations: 254.4 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3493, allocations: 1.398 MB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006591/0.3499, allocations: 254.6 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.3502, allocations: 132.8 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3503, allocations: 4 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3503, allocations: 34.56 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.3503, allocations: 0 / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008581/0.3511, allocations: 362.7 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3512, allocations: 63.34 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.3516, allocations: 425.8 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3517, allocations: 33.7 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.3519, allocations: 256.4 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.3519, allocations: 87.28 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.352, allocations: 49.98 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3522, allocations: 354.8 kB / 1.338 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3524, allocations: 96.52 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.3527, allocations: 160.7 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.3532, allocations: 277.1 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3532, allocations: 0 / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006434/0.3539, allocations: 347.2 kB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3539, allocations: 8 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3539, allocations: 0 / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3539, allocations: 4 kB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.3542, allocations: 67.89 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3542, allocations: 7.938 kB / 1.339 GB, free: 3.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3544, allocations: 31.75 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3544, allocations: 16.23 kB / 1.339 GB, free: 3.809 MB / 1.029 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.0001834/0.3546, allocations: 177.7 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.3546, allocations: 47.67 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.3547, allocations: 48.11 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3548, allocations: 4 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3548, allocations: 0 / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.3548, allocations: 7.922 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.3552, allocations: 404.3 kB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3552, allocations: 0 / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3555, allocations: 55.95 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3555, allocations: 0 / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3555, allocations: 7.938 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3555, allocations: 0 / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3555, allocations: 0 / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/0.3564, allocations: 0.505 MB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3565, allocations: 63.66 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.3565, allocations: 4 kB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3567, allocations: 11.98 kB / 1.341 GB, free: 2.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3568, allocations: 27.84 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3568, allocations: 8 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003028/0.3571, allocations: 299.2 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3571, allocations: 0 / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003125/0.3574, allocations: 67.84 kB / 1.341 GB, free: 2.023 MB / 1.029 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.001161/0.3586, allocations: 1.04 MB / 1.342 GB, free: 0.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.3591, allocations: 235.8 kB / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3591, allocations: 0 / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.3593, allocations: 119.8 kB / 1.342 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.36, allocations: 129.7 kB / 1.343 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.365, allocations: 3.532 MB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.3654, allocations: 0.8233 MB / 1.347 GB, free: 11.97 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.3656, allocations: 51.25 kB / 1.347 GB, free: 11.92 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.3658, allocations: 151.4 kB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.3658, allocations: 0 / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.4024, allocations: 8.371 MB / 1.355 GB, free: 3.609 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.65, allocations: 9.094 kB / 1.355 GB, free: 3.605 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.031871153973043]