Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_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_10_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.007069/0.007069, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001273/0.001273, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.55/2.55, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.91 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8149, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002205/0.8172, allocations: 1.004 MB / 1.167 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.8184, allocations: 0.9713 MB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.8186, allocations: 0 / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.753e-05/0.8186, allocations: 15.8 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.8188, allocations: 31.75 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.819, allocations: 63.86 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.8192, allocations: 155.7 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.8194, allocations: 88.17 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.8196, allocations: 75.66 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.8197, allocations: 67.69 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.8197, allocations: 19.98 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.429e-05/0.8197, allocations: 16 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.8198, allocations: 35.91 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.8199, allocations: 71.59 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.8201, allocations: 202.3 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.8201, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8201, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.8201, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006516/0.8208, allocations: 451.2 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.8208, allocations: 11.97 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.8209, allocations: 42.75 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.8209, allocations: 20.73 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.8213, allocations: 254.4 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.8214, allocations: 12.66 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.8214, allocations: 12.38 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.8217, allocations: 145 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.8218, allocations: 7.938 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.8218, allocations: 4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.8218, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.8221, allocations: 116.7 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.8228, allocations: 472.1 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.8231, allocations: 110.6 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.8232, allocations: 48.83 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.8232, allocations: 0 / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.8233, allocations: 38.56 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.8233, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005216/0.8238, allocations: 165.4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.8239, allocations: 55.34 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.824, allocations: 153.1 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.824, allocations: 41.64 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.8241, allocations: 115.8 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.8241, allocations: 35.62 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.8242, allocations: 33.7 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.8243, allocations: 322.8 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.8245, allocations: 43.97 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.8246, allocations: 75.39 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.8249, allocations: 99.77 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8249, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003317/0.8252, allocations: 153.2 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8253, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8253, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.8253, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.8255, allocations: 31.91 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.8255, allocations: 8.094 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.8256, allocations: 11.92 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.8256, allocations: 4 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001069/0.8257, allocations: 133.8 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.8258, allocations: 11.81 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.8258, allocations: 16.7 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8258, allocations: 7.938 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8258, allocations: 0 / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8258, allocations: 4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.8261, allocations: 225.5 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8261, allocations: 0 / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.8262, allocations: 31.91 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8262, allocations: 3.938 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.8262, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8263, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8263, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.8266, allocations: 235.2 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.8267, allocations: 88.95 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.8267, allocations: 0 / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.8268, allocations: 7.984 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.8269, allocations: 23.97 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.8269, allocations: 0 / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.827, allocations: 115.9 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.827, allocations: 4 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002466/0.8272, allocations: 23.91 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006346/0.8279, allocations: 0.767 MB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.8282, allocations: 107.8 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8283, allocations: 0 / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.8284, allocations: 59.91 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.8288, allocations: 23.41 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.8309, allocations: 1.729 MB / 1.175 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.8312, allocations: 0.7122 MB / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.8313, allocations: 16.64 kB / 1.176 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.8314, allocations: 55.41 kB / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of SimCode: time 6.81e-07/0.8314, allocations: 4 kB / 1.176 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.8505, allocations: 2.722 MB / 1.179 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.614, allocations: 8.297 kB / 1.179 GB, free: 6.523 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,actAirSet.uOpeMod,actAirSet.VCooMax_flow,actAirSet.VOccMin_flow,actAirSet.VActCooMax_flow,actAirSet.VActMin_flow Variables in the result:actAirSet.VActCooMax_flow,actAirSet.VActMin_flow,actAirSet.VCooMax_flow,actAirSet.VOccMin_flow,actAirSet.uOpeMod,minFlo.amplitude,minFlo.freqHz,minFlo.offset,minFlo.phase,minFlo.startTime,minFlo.y,opeMod.duration,opeMod.height,opeMod.offset,opeMod.startTime,opeMod.y,reaToInt2.u,reaToInt2.y,round2.n,round2.u,round2.y,time