Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",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.001254/0.001254, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001301/0.001301, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.421/2.421, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 72.98 kB / 0.8988 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2281, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002097/0.2302, allocations: 1.075 MB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000953/0.2312, allocations: 0.9713 MB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.2313, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.854e-05/0.2313, allocations: 7.922 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.2314, allocations: 15.88 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.2316, allocations: 55.94 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2317, allocations: 168 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.2319, allocations: 92.17 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.232, allocations: 63.78 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.2321, allocations: 71.67 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.2322, allocations: 20 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.242e-05/0.2322, allocations: 16 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.2322, allocations: 43.78 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.2323, allocations: 79.59 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.2325, allocations: 199.5 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2325, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.103e-06/0.2325, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2325, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 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.0005251/0.233, allocations: 450.9 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.2331, allocations: 8.031 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.2331, allocations: 50.73 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.462e-05/0.2331, allocations: 20.75 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.2335, allocations: 261.6 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2335, allocations: 8.375 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2336, allocations: 16.38 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2338, allocations: 154.5 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2339, allocations: 3.938 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.2339, allocations: 4 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2339, allocations: 8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.2342, allocations: 123.8 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.2347, allocations: 476.2 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.235, allocations: 126.5 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2351, allocations: 52.83 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2352, allocations: 4 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2352, allocations: 30.56 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.2352, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004657/0.2357, allocations: 185.3 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.2357, allocations: 51.41 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2358, allocations: 155.8 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.2358, allocations: 33.7 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.2359, allocations: 116.2 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.2359, allocations: 39.53 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.236, allocations: 37.7 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.2361, allocations: 330.7 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.2362, allocations: 35.97 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2364, allocations: 75.39 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.2366, allocations: 119.2 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2366, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003156/0.237, allocations: 145.5 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.237, allocations: 8 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.237, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.237, allocations: 4 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2371, allocations: 28 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2372, allocations: 8 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.2373, allocations: 15.84 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.2373, allocations: 7.984 kB / 1.058 GB, free: 2.355 MB / 0.8106 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 8.606e-05/0.2374, allocations: 129.8 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.2374, allocations: 11.89 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.2374, allocations: 16.72 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2374, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2375, allocations: 4 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2375, allocations: 3.984 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.2377, allocations: 237.5 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2377, allocations: 7.938 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.2378, allocations: 23.91 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2378, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2378, allocations: 4 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2378, allocations: 0 / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2378, allocations: 0 / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.2381, allocations: 231.3 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.2382, allocations: 92.86 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2382, allocations: 4 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2383, allocations: 11.92 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.2384, allocations: 19.97 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2384, allocations: 4 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.856e-05/0.2385, allocations: 121.4 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.874e-06/0.2385, allocations: 0 / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002317/0.2387, allocations: 23.94 kB / 1.059 GB, free: 1.336 MB / 0.8106 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.0005485/0.2393, allocations: 0.7715 MB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.2396, allocations: 127.8 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2396, allocations: 0 / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.2398, allocations: 55.95 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.24, allocations: 20.12 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.2418, allocations: 1.783 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.242, allocations: 0.7123 MB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.798e-05/0.2421, allocations: 17.08 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.2422, allocations: 48.67 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.2422, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/1.399, allocations: 2.562 MB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/1.399, allocations: 268.4 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/3.287, allocations: 2.094 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches