Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_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.008975/0.008975, allocations: 103 kB / 15.73 MB, free: 6.035 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.001914/0.001914, allocations: 190 kB / 16.67 MB, free: 5.965 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 70.86 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3103, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.012/1.323, allocations: 249 MB / 1.331 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02577/1.348, allocations: 22.27 MB / 1.352 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/1.352, allocations: 55.09 kB / 1.352 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003056/1.355, allocations: 0.972 MB / 1.353 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004909/1.36, allocations: 1.468 MB / 1.355 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005264/1.365, allocations: 1.934 MB / 1.357 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003743/1.369, allocations: 2.703 MB / 1.359 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/1.37, allocations: 1.319 MB / 1.361 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/1.373, allocations: 1.352 MB / 1.362 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/1.374, allocations: 0.911 MB / 1.363 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/1.374, allocations: 108.6 kB / 1.363 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/1.377, allocations: 1.683 MB / 1.365 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/1.378, allocations: 381.4 kB / 1.365 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007248/1.379, allocations: 0.6328 MB / 1.366 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/1.381, allocations: 2.28 MB / 1.368 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.381, allocations: 2.5 kB / 1.368 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/1.381, allocations: 0 / 1.368 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.554e-05/1.381, allocations: 0 / 1.368 GB, free: 13.1 MB / 1.029 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.001883/1.383, allocations: 1.467 MB / 1.369 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.383, allocations: 11 kB / 1.369 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/1.383, allocations: 143.1 kB / 1.369 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/1.384, allocations: 227.1 kB / 1.37 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/1.386, allocations: 0.9079 MB / 1.37 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/1.386, allocations: 188.4 kB / 1.371 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/1.386, allocations: 103.8 kB / 1.371 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/1.387, allocations: 0.9245 MB / 1.372 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.387, allocations: 2.531 kB / 1.372 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/1.387, allocations: 40.66 kB / 1.372 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/1.387, allocations: 23.69 kB / 1.372 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/1.388, allocations: 0.6299 MB / 1.372 GB, free: 10.54 MB / 1.029 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.00445/1.393, allocations: 4.425 MB / 1.377 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/1.393, allocations: 194.7 kB / 1.377 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/1.393, allocations: 147.1 kB / 1.377 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009268/1.394, allocations: 1.017 MB / 1.378 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/1.394, allocations: 38.23 kB / 1.378 GB, free: 5.801 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/1.394, allocations: 0 / 1.378 GB, free: 5.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.0009719/1.395, allocations: 467.6 kB / 1.378 GB, free: 5.609 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.395, allocations: 54.81 kB / 1.378 GB, free: 5.547 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/1.397, allocations: 1.111 MB / 1.38 GB, free: 5.102 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/1.397, allocations: 33.3 kB / 1.38 GB, free: 5.066 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/1.397, allocations: 0.508 MB / 1.38 GB, free: 4.664 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/1.397, allocations: 87.88 kB / 1.38 GB, free: 4.598 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.397, allocations: 97.81 kB / 1.38 GB, free: 4.547 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.397, allocations: 316.9 kB / 1.381 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/1.398, allocations: 132.5 kB / 1.381 GB, free: 4.195 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/1.398, allocations: 385.8 kB / 1.381 GB, free: 3.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/1.399, allocations: 471.4 kB / 1.382 GB, free: 3.492 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.399, allocations: 2.781 kB / 1.382 GB, free: 3.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008668/1.4, allocations: 0.5403 MB / 1.382 GB, free: 3.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.4, allocations: 16.84 kB / 1.382 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.4, allocations: 7.344 kB / 1.382 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.4, allocations: 12.47 kB / 1.382 GB, free: 3.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/1.4, allocations: 88.78 kB / 1.382 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.4, allocations: 12.5 kB / 1.382 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/1.401, allocations: 93.78 kB / 1.382 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/1.401, allocations: 27.34 kB / 1.382 GB, free: 3.215 MB / 1.029 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.0003514/1.401, allocations: 290.2 kB / 1.383 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.401, allocations: 103.2 kB / 1.383 GB, free: 2.957 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/1.402, allocations: 427.4 kB / 1.383 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.402, allocations: 3.406 kB / 1.383 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.402, allocations: 0 / 1.383 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.402, allocations: 0 / 1.383 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/1.404, allocations: 1.554 MB / 1.385 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.404, allocations: 6.969 kB / 1.385 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/1.404, allocations: 47.95 kB / 1.385 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/1.404, allocations: 8.219 kB / 1.385 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.404, allocations: 5.5 kB / 1.385 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.404, allocations: 11.58 kB / 1.385 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.404, allocations: 8.688 kB / 1.385 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/1.405, allocations: 0.5782 MB / 1.385 GB, free: 1.422 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/1.405, allocations: 233.4 kB / 1.385 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.406, allocations: 12.44 kB / 1.385 GB, free: 1.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/1.406, allocations: 19.11 kB / 1.386 GB, free: 1.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/1.406, allocations: 32.17 kB / 1.386 GB, free: 1.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/1.406, allocations: 17.56 kB / 1.386 GB, free: 1.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001003/1.407, allocations: 0.7771 MB / 1.386 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.407, allocations: 0 / 1.386 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008881/1.408, allocations: 283.4 kB / 1.387 GB, free: 0.8359 MB / 1.029 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.00146/1.409, allocations: 1.351 MB / 1.388 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006101/1.41, allocations: 337.3 kB / 1.388 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.41, allocations: 0 / 1.388 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/1.41, allocations: 147.2 kB / 1.388 GB, free: 15.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.413, allocations: 0.5104 MB / 1.389 GB, free: 15.51 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009452/1.422, allocations: 7.403 MB / 1.396 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/1.423, allocations: 1.063 MB / 1.397 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007586/1.424, allocations: 198.2 kB / 1.397 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/1.424, allocations: 370.1 kB / 1.398 GB, free: 10.18 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/1.424, allocations: 0 / 1.398 GB, free: 10.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/1.485, allocations: 28.38 MB / 1.425 GB, free: 4.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.55, allocations: 8 kB / 1.425 GB, free: 4.562 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches