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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009326/0.0009325, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007517/0.007517, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 12.28 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.552, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7212/1.273, allocations: 243.4 MB / 1.261 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01961/1.293, allocations: 21.99 MB / 1.282 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/1.294, allocations: 46.53 kB / 1.282 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/1.296, allocations: 0.7824 MB / 1.283 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00276/1.299, allocations: 1.401 MB / 1.284 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/1.302, allocations: 1.774 MB / 1.286 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002843/1.305, allocations: 3.528 MB / 1.29 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/1.306, allocations: 1.082 MB / 1.291 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/1.308, allocations: 1.135 MB / 1.292 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007949/1.309, allocations: 0.8544 MB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/1.309, allocations: 34.44 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/1.312, allocations: 1.865 MB / 1.294 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/1.312, allocations: 292.6 kB / 1.295 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004206/1.312, allocations: 0.5609 MB / 1.295 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/1.314, allocations: 2.254 MB / 1.298 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.314, allocations: 0 / 1.298 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.223e-06/1.314, allocations: 0 / 1.298 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.314, allocations: 0 / 1.298 GB, free: 1.18 MB / 0.9825 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.001417/1.316, allocations: 1.236 MB / 1.299 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/1.316, allocations: 8.688 kB / 1.299 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/1.316, allocations: 144.3 kB / 1.299 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/1.317, allocations: 226.6 kB / 1.299 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/1.318, allocations: 0.849 MB / 1.3 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/1.318, allocations: 188.3 kB / 1.3 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/1.318, allocations: 92.84 kB / 1.3 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/1.319, allocations: 0.9369 MB / 1.301 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/1.319, allocations: 2.938 kB / 1.301 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/1.319, allocations: 36.81 kB / 1.301 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/1.319, allocations: 22.56 kB / 1.301 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008848/1.32, allocations: 0.629 MB / 1.302 GB, free: 15.69 MB / 0.9981 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.004771/1.325, allocations: 4.45 MB / 1.306 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/1.326, allocations: 188.3 kB / 1.306 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/1.326, allocations: 148.6 kB / 1.306 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/1.327, allocations: 1.017 MB / 1.307 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.327, allocations: 43.92 kB / 1.307 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 4.097e-06/1.327, allocations: 0 / 1.307 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001572/1.329, allocations: 471.8 kB / 1.308 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/1.329, allocations: 55.41 kB / 1.308 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/1.331, allocations: 1.113 MB / 1.309 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/1.331, allocations: 31.89 kB / 1.309 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/1.332, allocations: 0.5084 MB / 1.31 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.332, allocations: 93.7 kB / 1.31 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/1.332, allocations: 36.41 kB / 1.31 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.332, allocations: 322.8 kB / 1.31 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/1.332, allocations: 127.3 kB / 1.31 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/1.333, allocations: 385 kB / 1.311 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007498/1.334, allocations: 464.8 kB / 1.311 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/1.334, allocations: 6.031 kB / 1.311 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0012/1.335, allocations: 0.5366 MB / 1.311 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.335, allocations: 6.906 kB / 1.311 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.335, allocations: 12.28 kB / 1.311 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.335, allocations: 12.5 kB / 1.312 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/1.335, allocations: 90.34 kB / 1.312 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/1.335, allocations: 12.28 kB / 1.312 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.337, allocations: 129.3 kB / 1.312 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/1.337, allocations: 26.73 kB / 1.312 GB, free: 10.13 MB / 0.9981 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.0004775/1.337, allocations: 285.6 kB / 1.312 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/1.337, allocations: 99.94 kB / 1.312 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/1.338, allocations: 428.4 kB / 1.313 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.338, allocations: 6.969 kB / 1.313 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.338, allocations: 0 / 1.313 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/1.338, allocations: 4 kB / 1.313 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/1.341, allocations: 1.542 MB / 1.314 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.341, allocations: 3.438 kB / 1.314 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/1.342, allocations: 45.69 kB / 1.314 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/1.342, allocations: 6.031 kB / 1.314 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/1.342, allocations: 15.02 kB / 1.314 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/1.342, allocations: 6.594 kB / 1.314 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.342, allocations: 12.69 kB / 1.314 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/1.343, allocations: 0.5705 MB / 1.315 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/1.343, allocations: 252.5 kB / 1.315 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/1.343, allocations: 9.547 kB / 1.315 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/1.344, allocations: 32.73 kB / 1.315 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/1.344, allocations: 32.67 kB / 1.315 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.344, allocations: 16.06 kB / 1.315 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001561/1.346, allocations: 0.7768 MB / 1.316 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.346, allocations: 2.734 kB / 1.316 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001302/1.347, allocations: 285.9 kB / 1.316 GB, free: 8.746 MB / 0.9981 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.001933/1.349, allocations: 1.353 MB / 1.317 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007336/1.35, allocations: 326.5 kB / 1.318 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.35, allocations: 1.438 kB / 1.318 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002774/1.35, allocations: 141.8 kB / 1.318 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/1.354, allocations: 0.519 MB / 1.318 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/1.371, allocations: 8.228 MB / 1.326 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009025/1.371, allocations: 1.061 MB / 1.327 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001183/1.373, allocations: 197.6 kB / 1.328 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/1.373, allocations: 369.2 kB / 1.328 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/1.373, allocations: 0 / 1.328 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.765/4.138, allocations: 29.4 MB / 1.357 GB, free: 8.387 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/4.139, allocations: 269.4 kB / 1.357 GB, free: 8.055 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/6.627, allocations: 4 kB / 1.357 GB, free: 8.051 MB / 1.014 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