Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",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.001498/0.001497, 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.00174/0.00174, allocations: 190.9 kB / 16.25 MB, free: 6.59 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.348/2.348, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 66.16 kB / 0.8988 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2323, allocations: 157.4 MB / 1.053 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.002261/0.2346, allocations: 1.233 MB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2357, allocations: 0.9948 MB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2358, allocations: 7.938 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.236, allocations: 19.8 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.2361, allocations: 19.8 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.2363, allocations: 91.92 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.2365, allocations: 247.4 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.2367, allocations: 123.6 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.2368, allocations: 75.72 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.2369, allocations: 99.53 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.237, allocations: 24 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.214e-05/0.237, allocations: 24 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.237, allocations: 51.83 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.2371, allocations: 99.47 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2374, allocations: 323.1 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2374, allocations: 0 / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2374, allocations: 0 / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.2374, allocations: 7.938 kB / 1.056 GB, free: 5.074 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006412/0.2381, allocations: 0.4952 MB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2381, allocations: 8.625 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.2382, allocations: 54.73 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.2382, allocations: 24.69 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.2386, allocations: 293.4 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2386, allocations: 12.81 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2386, allocations: 20.38 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.239, allocations: 222.3 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.239, allocations: 3.938 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.239, allocations: 8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2391, allocations: 4 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.2394, allocations: 169 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008648/0.2403, allocations: 0.6972 MB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.2404, allocations: 82.55 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.2406, allocations: 52.83 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.2406, allocations: 3.984 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2406, allocations: 42.62 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.2406, allocations: 4 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004293/0.2411, allocations: 165.4 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.2411, allocations: 55.41 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.2413, allocations: 211.2 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2413, allocations: 29.7 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.2414, allocations: 155.9 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.2414, allocations: 35.45 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.2415, allocations: 41.7 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.2416, allocations: 326.8 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2417, allocations: 43.97 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.2419, allocations: 83 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.2421, allocations: 148.9 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2421, allocations: 384 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003289/0.2425, allocations: 193.2 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2425, allocations: 7.938 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2425, allocations: 0 / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2425, allocations: 7.938 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2427, allocations: 35.97 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2427, allocations: 0 / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2428, allocations: 27.92 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.2428, allocations: 12 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.217e-05/0.2429, allocations: 129.8 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.243, allocations: 19.75 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.2433, allocations: 155 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2433, allocations: 4 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2433, allocations: 4 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2433, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.2439, allocations: 0.5202 MB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.244, allocations: 3.938 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.2441, allocations: 24.08 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2441, allocations: 4 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2441, allocations: 8 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.2441, allocations: 0 / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2441, allocations: 7.938 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.2444, allocations: 250 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.2445, allocations: 108.8 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2445, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.2447, allocations: 15.98 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.2447, allocations: 11.98 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2447, allocations: 7.938 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001115/0.2448, allocations: 156.6 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2448, allocations: 4 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002551/0.2451, allocations: 31.94 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (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.0005437/0.2456, allocations: 0.8005 MB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.2459, allocations: 123.8 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.246, allocations: 4.078 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.2461, allocations: 60.36 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.2464, allocations: 32.3 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.2486, allocations: 2.104 MB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2488, allocations: 0.732 MB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.494e-05/0.2489, allocations: 25.48 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.249, allocations: 63.41 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.249, allocations: 0 / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8699/1.119, allocations: 3.502 MB / 1.068 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/1.119, allocations: 285.6 kB / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.152/4.271, allocations: 0 / 1.068 GB, free: 7.746 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches