Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.001215/0.001215, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001192/0.001192, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.263/1.263, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.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.376/2.376, allocations: 437.1 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 0.8689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5258, allocations: 151.6 MB / 1.017 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7485/1.274, allocations: 246 MB / 1.257 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02058/1.295, allocations: 22.1 MB / 1.279 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/1.296, allocations: 49.5 kB / 1.279 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/1.299, allocations: 0.8441 MB / 1.28 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002989/1.302, allocations: 1.375 MB / 1.281 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004299/1.306, allocations: 1.79 MB / 1.283 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002475/1.308, allocations: 2.695 MB / 1.285 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/1.31, allocations: 1.306 MB / 1.287 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/1.311, allocations: 1.339 MB / 1.288 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008871/1.312, allocations: 0.9492 MB / 1.289 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/1.313, allocations: 108.3 kB / 1.289 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/1.315, allocations: 1.735 MB / 1.291 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/1.315, allocations: 373.5 kB / 1.291 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000492/1.316, allocations: 0.6378 MB / 1.292 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002/1.318, allocations: 2.343 MB / 1.294 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/1.318, allocations: 1.375 kB / 1.294 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.318, allocations: 0.8125 kB / 1.294 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.281e-05/1.318, allocations: 0 / 1.294 GB, free: 1.43 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001539/1.319, allocations: 1.472 MB / 1.295 GB, free: 16.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/1.319, allocations: 8.938 kB / 1.295 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/1.32, allocations: 142.8 kB / 1.295 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009399/1.32, allocations: 228.2 kB / 1.296 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009044/1.321, allocations: 0.8497 MB / 1.297 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/1.322, allocations: 186.8 kB / 1.297 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.932e-05/1.322, allocations: 91.78 kB / 1.297 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/1.323, allocations: 0.9312 MB / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.323, allocations: 1.203 kB / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/1.323, allocations: 37.5 kB / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/1.323, allocations: 24.12 kB / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/1.324, allocations: 0.6284 MB / 1.298 GB, free: 15.93 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/1.327, allocations: 4.438 MB / 1.303 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/1.327, allocations: 189.8 kB / 1.303 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/1.327, allocations: 143.5 kB / 1.303 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008274/1.328, allocations: 1.021 MB / 1.304 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/1.328, allocations: 40.98 kB / 1.304 GB, free: 11.99 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.284e-06/1.328, allocations: 8.828 kB / 1.304 GB, free: 11.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.000823/1.329, allocations: 468.9 kB / 1.305 GB, free: 11.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/1.329, allocations: 56.22 kB / 1.305 GB, free: 11.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.33, allocations: 1.111 MB / 1.306 GB, free: 11.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/1.33, allocations: 32.36 kB / 1.306 GB, free: 11.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/1.331, allocations: 0.5101 MB / 1.306 GB, free: 11.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/1.331, allocations: 86.11 kB / 1.306 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/1.331, allocations: 99.58 kB / 1.306 GB, free: 11.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/1.331, allocations: 322.5 kB / 1.307 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/1.331, allocations: 125.2 kB / 1.307 GB, free: 11.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/1.331, allocations: 392.2 kB / 1.307 GB, free: 10.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/1.332, allocations: 465.6 kB / 1.308 GB, free: 10.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.332, allocations: 0 / 1.308 GB, free: 10.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000754/1.333, allocations: 0.5389 MB / 1.308 GB, free: 10.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.333, allocations: 7.969 kB / 1.308 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.333, allocations: 8.75 kB / 1.308 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.333, allocations: 8.625 kB / 1.308 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/1.333, allocations: 90.59 kB / 1.308 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.333, allocations: 15.38 kB / 1.308 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/1.334, allocations: 130.2 kB / 1.308 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/1.334, allocations: 28.12 kB / 1.308 GB, free: 10.43 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0003125/1.334, allocations: 282.9 kB / 1.309 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.334, allocations: 100.8 kB / 1.309 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/1.335, allocations: 428.7 kB / 1.309 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.335, allocations: 2.875 kB / 1.309 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.335, allocations: 4.875 kB / 1.309 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.335, allocations: 0 / 1.309 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/1.336, allocations: 1.556 MB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.336, allocations: 6 kB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/1.337, allocations: 44.31 kB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.337, allocations: 5.656 kB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/1.337, allocations: 11.72 kB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.337, allocations: 10.38 kB / 1.311 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.337, allocations: 9.906 kB / 1.311 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/1.337, allocations: 0.5704 MB / 1.311 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/1.337, allocations: 235.4 kB / 1.312 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/1.338, allocations: 19.97 kB / 1.312 GB, free: 9.242 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/1.338, allocations: 29.75 kB / 1.312 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/1.338, allocations: 33.83 kB / 1.312 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/1.338, allocations: 10.75 kB / 1.312 GB, free: 9.234 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007493/1.339, allocations: 0.7856 MB / 1.312 GB, free: 9.121 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.339, allocations: 0 / 1.312 GB, free: 9.121 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006849/1.34, allocations: 280.8 kB / 1.313 GB, free: 9.086 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001161/1.341, allocations: 1.348 MB / 1.314 GB, free: 8.199 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004636/1.341, allocations: 351.5 kB / 1.314 GB, free: 8.191 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.341, allocations: 0 / 1.314 GB, free: 8.191 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/1.341, allocations: 145.3 kB / 1.314 GB, free: 8.191 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/1.343, allocations: 0.5144 MB / 1.315 GB, free: 8.121 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/1.352, allocations: 8.208 MB / 1.323 GB, free: 4.426 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/1.352, allocations: 1.067 MB / 1.324 GB, free: 3.711 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006683/1.353, allocations: 199.2 kB / 1.324 GB, free: 3.664 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/1.354, allocations: 362.7 kB / 1.325 GB, free: 3.656 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.354, allocations: 0 / 1.325 GB, free: 3.656 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.56/4.914, allocations: 27.58 MB / 1.352 GB, free: 13.45 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/4.914, allocations: 269.3 kB / 1.352 GB, free: 13.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/8.233, allocations: 3.75 kB / 1.352 GB, free: 13.11 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches