Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 108.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.171/3.171, allocations: 497.2 MB / 0.7811 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 64.97 kB / 1.134 GB, free: 33.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3286, allocations: 173.9 MB / 1.304 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002706/0.3313, allocations: 1.018 MB / 1.305 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3329, allocations: 0.9829 MB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.333, allocations: 4 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.333, allocations: 15.8 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3332, allocations: 23.75 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.3334, allocations: 59.92 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.3336, allocations: 160.1 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.3338, allocations: 68.47 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.3339, allocations: 67.72 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.3341, allocations: 79.62 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.3341, allocations: 16 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-05/0.3341, allocations: 20 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.3342, allocations: 43.83 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.3343, allocations: 71.55 kB / 1.307 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.3345, allocations: 211.1 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3345, allocations: 0 / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3345, allocations: 0 / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3346, allocations: 3.938 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007391/0.3353, allocations: 458.7 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3353, allocations: 12.03 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.853e-05/0.3354, allocations: 46.73 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.3354, allocations: 16.84 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.3359, allocations: 257.4 kB / 1.308 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.336, allocations: 16.38 kB / 1.308 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.336, allocations: 12.38 kB / 1.308 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.3363, allocations: 155.2 kB / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3363, allocations: 3.938 kB / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3364, allocations: 4 kB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3364, allocations: 4 kB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.3367, allocations: 112.5 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.3374, allocations: 496 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.3377, allocations: 110.7 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3379, allocations: 48.83 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3379, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3379, allocations: 42.48 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.3379, allocations: 0 / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0005482/0.3385, allocations: 173.5 kB / 1.309 GB, free: 12.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.3386, allocations: 51.41 kB / 1.309 GB, free: 12.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.3387, allocations: 150.4 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.3388, allocations: 29.7 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.3389, allocations: 136.2 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3389, allocations: 31.73 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.339, allocations: 37.7 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3391, allocations: 326.8 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3393, allocations: 43.95 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3394, allocations: 75.34 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.3398, allocations: 107.4 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3398, allocations: 3.938 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003758/0.3402, allocations: 157.4 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3402, allocations: 8 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/0.3402, allocations: 0 / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3402, allocations: 0 / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3404, allocations: 31.97 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3404, allocations: 3.938 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.3405, allocations: 20.02 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3405, allocations: 8 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001213/0.3406, allocations: 131.8 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.3406, allocations: 15.91 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.3407, allocations: 16.7 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3407, allocations: 4 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3407, allocations: 0 / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3407, allocations: 0 / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.341, allocations: 241.5 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.341, allocations: 0 / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3411, allocations: 23.92 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3411, allocations: 0 / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3411, allocations: 0 / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3411, allocations: 7.984 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3411, allocations: 0 / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.3415, allocations: 239.3 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.3416, allocations: 92.98 kB / 1.311 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3416, allocations: 0 / 1.311 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3418, allocations: 11.98 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.3418, allocations: 15.98 kB / 1.311 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.3418, allocations: 4 kB / 1.311 GB, free: 10.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.829e-05/0.3419, allocations: 116.7 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3419, allocations: 0 / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002525/0.3422, allocations: 27.95 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0007678/0.3429, allocations: 0.7753 MB / 1.311 GB, free: 9.625 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.3433, allocations: 107.9 kB / 1.312 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3433, allocations: 4 kB / 1.312 GB, free: 9.516 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.3435, allocations: 59.89 kB / 1.312 GB, free: 9.457 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.3438, allocations: 13.81 kB / 1.312 GB, free: 9.445 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.3463, allocations: 1.748 MB / 1.313 GB, free: 7.594 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.3466, allocations: 0.7161 MB / 1.314 GB, free: 6.852 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.955e-05/0.3467, allocations: 25.06 kB / 1.314 GB, free: 6.828 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3468, allocations: 47.42 kB / 1.314 GB, free: 6.781 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/0.3468, allocations: 0 / 1.314 GB, free: 6.781 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.3732, allocations: 2.787 MB / 1.317 GB, free: 4.195 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/8.833, allocations: 9.703 kB / 1.317 GB, free: 4.188 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.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: 15.433356401044875]