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.001093/0.001093, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008541/0.0008541, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8389/0.8389, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.658/1.658, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.76e-05, allocations: 10.22 kB / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004039/0.004056, allocations: 2.899 MB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.005952, allocations: 1.141 MB / 0.9849 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.006243, allocations: 23.81 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.006514, allocations: 95.06 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.006749, allocations: 115 kB / 0.9851 GB, free: 14.31 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.007459, allocations: 369.4 kB / 0.9855 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006185/0.008077, allocations: 0.6479 MB / 0.9861 GB, free: 13.31 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.008387, allocations: 154.4 kB / 0.9863 GB, free: 13.15 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.008814, allocations: 327.2 kB / 0.9866 GB, free: 12.83 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.009016, allocations: 155.4 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.329e-05/0.009089, allocations: 52 kB / 0.9868 GB, free: 12.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.833e-05/0.009178, allocations: 60 kB / 0.9868 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.009256, allocations: 111.5 kB / 0.9869 GB, free: 12.46 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.009391, allocations: 147.5 kB / 0.9871 GB, free: 12.32 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006494/0.01004, allocations: 0.7008 MB / 0.9878 GB, free: 11.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01004, allocations: 0 / 0.9878 GB, free: 11.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.71e-07/0.01004, allocations: 0 / 0.9878 GB, free: 11.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.01005, allocations: 0 / 0.9878 GB, free: 11.61 MB / 0.948 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.001132/0.01118, allocations: 0.7614 MB / 0.9885 GB, free: 10.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.01122, allocations: 12.03 kB / 0.9885 GB, free: 10.81 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.563e-05/0.0113, allocations: 62.72 kB / 0.9886 GB, free: 10.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.01158, allocations: 84.53 kB / 0.9887 GB, free: 10.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.01238, allocations: 478.6 kB / 0.9891 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.0124, allocations: 28.97 kB / 0.9891 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.01245, allocations: 32.38 kB / 0.9892 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.01307, allocations: 423 kB / 0.9896 GB, free: 9.645 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01308, allocations: 192 / 0.9896 GB, free: 9.645 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.01312, allocations: 16.12 kB / 0.9896 GB, free: 9.629 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01313, allocations: 8 kB / 0.9896 GB, free: 9.621 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.01367, allocations: 258.4 kB / 0.9898 GB, free: 9.371 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.01514, allocations: 1.289 MB / 0.9911 GB, free: 8.016 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.01573, allocations: 258.8 kB / 0.9913 GB, free: 7.754 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.01599, allocations: 124.8 kB / 0.9915 GB, free: 7.629 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.01602, allocations: 4 kB / 0.9915 GB, free: 7.625 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.01604, allocations: 34.56 kB / 0.9915 GB, free: 7.582 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.01604, allocations: 0 / 0.9915 GB, free: 7.582 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0007992/0.01684, allocations: 367.1 kB / 0.9918 GB, free: 7.219 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.01687, allocations: 55.41 kB / 0.9919 GB, free: 7.152 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.01733, allocations: 425.8 kB / 0.9923 GB, free: 6.727 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.01735, allocations: 37.64 kB / 0.9923 GB, free: 6.684 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.01753, allocations: 256.4 kB / 0.9926 GB, free: 6.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.0176, allocations: 87.28 kB / 0.9927 GB, free: 6.344 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.01769, allocations: 53.98 kB / 0.9927 GB, free: 6.281 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01782, allocations: 358.7 kB / 0.9931 GB, free: 5.922 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.01804, allocations: 92.52 kB / 0.9932 GB, free: 5.832 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.01829, allocations: 165.9 kB / 0.9933 GB, free: 5.645 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.01877, allocations: 276.2 kB / 0.9936 GB, free: 5.348 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01878, allocations: 0 / 0.9936 GB, free: 5.348 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006032/0.01938, allocations: 342.1 kB / 0.9939 GB, free: 5.008 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.0194, allocations: 8 kB / 0.9939 GB, free: 5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.0194, allocations: 0 / 0.9939 GB, free: 5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.01942, allocations: 4 kB / 0.9939 GB, free: 4.996 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.01965, allocations: 63.91 kB / 0.994 GB, free: 4.934 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.01966, allocations: 7.984 kB / 0.994 GB, free: 4.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.01982, allocations: 32.06 kB / 0.994 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.01984, allocations: 12 kB / 0.994 GB, free: 4.883 MB / 0.948 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.0001801/0.02002, allocations: 173.7 kB / 0.9942 GB, free: 4.703 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.02009, allocations: 51.67 kB / 0.9942 GB, free: 4.652 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.075e-05/0.02018, allocations: 55.97 kB / 0.9943 GB, free: 4.598 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.02018, allocations: 4 kB / 0.9943 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02019, allocations: 0 / 0.9943 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02019, allocations: 0 / 0.9943 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.02062, allocations: 368.4 kB / 0.9946 GB, free: 4.191 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02062, allocations: 4 kB / 0.9947 GB, free: 4.188 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.02082, allocations: 43.97 kB / 0.9947 GB, free: 4.145 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.02083, allocations: 0 / 0.9947 GB, free: 4.145 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.02085, allocations: 11.94 kB / 0.9947 GB, free: 4.133 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02085, allocations: 0 / 0.9947 GB, free: 4.133 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.02085, allocations: 3.984 kB / 0.9947 GB, free: 4.129 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.02166, allocations: 0.4984 MB / 0.9952 GB, free: 3.617 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.02178, allocations: 79.59 kB / 0.9953 GB, free: 3.539 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.02182, allocations: 4 kB / 0.9953 GB, free: 3.535 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.02198, allocations: 15.98 kB / 0.9953 GB, free: 3.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.02204, allocations: 15.97 kB / 0.9953 GB, free: 3.504 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.02205, allocations: 4 kB / 0.9953 GB, free: 3.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003074/0.02236, allocations: 299.1 kB / 0.9956 GB, free: 3.211 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.02236, allocations: 0 / 0.9956 GB, free: 3.211 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003662/0.02273, allocations: 71.91 kB / 0.9957 GB, free: 3.141 MB / 0.948 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.001047/0.02378, allocations: 1.039 MB / 0.9967 GB, free: 2.074 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005317/0.02431, allocations: 234.8 kB / 0.9969 GB, free: 1.848 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02431, allocations: 0 / 0.9969 GB, free: 1.848 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.02453, allocations: 115.9 kB / 0.997 GB, free: 1.734 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.02517, allocations: 125.2 kB / 0.9971 GB, free: 1.613 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.02847, allocations: 3.548 MB / 1.001 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.0286, allocations: 224.2 kB / 1.001 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.02874, allocations: 51.25 kB / 1.001 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.02889, allocations: 152.4 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of SimCode: time 6.81e-07/0.02889, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.05402, allocations: 9.105 MB / 1.01 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.252, allocations: 0 / 1.01 GB, free: 4.668 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.042234008200467]