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.001331/0.001331, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.287/2.287, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5044, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.628/1.132, allocations: 249 MB / 1.261 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02008/1.153, allocations: 22.27 MB / 1.282 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/1.154, allocations: 56.16 kB / 1.282 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/1.156, allocations: 0.9725 MB / 1.283 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/1.158, allocations: 1.476 MB / 1.285 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/1.162, allocations: 1.914 MB / 1.287 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002155/1.164, allocations: 2.685 MB / 1.289 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/1.165, allocations: 1.324 MB / 1.291 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/1.167, allocations: 1.336 MB / 1.292 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008865/1.168, allocations: 0.9099 MB / 1.293 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/1.168, allocations: 108.8 kB / 1.293 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/1.171, allocations: 1.675 MB / 1.294 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/1.171, allocations: 381.5 kB / 1.295 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005238/1.171, allocations: 0.632 MB / 1.295 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/1.173, allocations: 2.234 MB / 1.298 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.173, allocations: 0 / 1.298 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/1.173, allocations: 4 kB / 1.298 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.173, allocations: 2.656 kB / 1.298 GB, free: 1.418 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.001488/1.175, allocations: 1.466 MB / 1.299 GB, free: 16.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/1.175, allocations: 7.531 kB / 1.299 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/1.175, allocations: 143.8 kB / 1.299 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/1.176, allocations: 229.8 kB / 1.299 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/1.177, allocations: 0.8576 MB / 1.3 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/1.177, allocations: 181.5 kB / 1.3 GB, free: 16.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/1.177, allocations: 93.66 kB / 1.301 GB, free: 16.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.178, allocations: 0.9311 MB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.178, allocations: 0.875 kB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/1.178, allocations: 36.72 kB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/1.178, allocations: 22.94 kB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/1.179, allocations: 0.6359 MB / 1.302 GB, free: 15.92 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.003223/1.182, allocations: 4.459 MB / 1.306 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/1.183, allocations: 188.9 kB / 1.307 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/1.183, allocations: 144.2 kB / 1.307 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008249/1.184, allocations: 1.022 MB / 1.308 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/1.184, allocations: 44.83 kB / 1.308 GB, free: 11.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/1.184, allocations: 0.5625 kB / 1.308 GB, free: 11.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0008044/1.184, allocations: 465.5 kB / 1.308 GB, free: 11.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/1.184, allocations: 61.31 kB / 1.308 GB, free: 11.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.186, allocations: 1.107 MB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/1.186, allocations: 32.8 kB / 1.309 GB, free: 11.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/1.186, allocations: 0.5055 MB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/1.186, allocations: 91.97 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.186, allocations: 97.94 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/1.186, allocations: 323 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/1.186, allocations: 129 kB / 1.311 GB, free: 11.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/1.187, allocations: 390.9 kB / 1.311 GB, free: 10.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/1.187, allocations: 467.2 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.187, allocations: 0.9688 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000716/1.188, allocations: 0.5383 MB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.188, allocations: 10.38 kB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.188, allocations: 6.312 kB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.188, allocations: 8.438 kB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/1.188, allocations: 95.22 kB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.188, allocations: 17.81 kB / 1.312 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/1.189, allocations: 90.62 kB / 1.312 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/1.189, allocations: 32.97 kB / 1.312 GB, free: 10.42 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.0002625/1.189, allocations: 279.9 kB / 1.312 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/1.189, allocations: 102.5 kB / 1.312 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005656/1.19, allocations: 427 kB / 1.313 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.19, allocations: 4.531 kB / 1.313 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.19, allocations: 8.031 kB / 1.313 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.19, allocations: 2.812 kB / 1.313 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/1.192, allocations: 1.547 MB / 1.314 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.192, allocations: 5.719 kB / 1.314 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/1.192, allocations: 41.3 kB / 1.314 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/1.192, allocations: 7.484 kB / 1.314 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.192, allocations: 15.19 kB / 1.314 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.192, allocations: 12.62 kB / 1.314 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.192, allocations: 4.656 kB / 1.315 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/1.192, allocations: 0.5688 MB / 1.315 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/1.193, allocations: 240.5 kB / 1.315 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.193, allocations: 16 kB / 1.315 GB, free: 9.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/1.193, allocations: 17.41 kB / 1.315 GB, free: 9.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/1.193, allocations: 32.28 kB / 1.315 GB, free: 9.223 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/1.193, allocations: 18.31 kB / 1.315 GB, free: 9.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007707/1.194, allocations: 0.7767 MB / 1.316 GB, free: 9.113 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.21e-07/1.194, allocations: 2.078 kB / 1.316 GB, free: 9.113 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006693/1.195, allocations: 283.8 kB / 1.316 GB, free: 9.082 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.001122/1.196, allocations: 1.346 MB / 1.318 GB, free: 8.188 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004565/1.196, allocations: 348.5 kB / 1.318 GB, free: 8.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.196, allocations: 2.25 kB / 1.318 GB, free: 8.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/1.196, allocations: 142.9 kB / 1.318 GB, free: 8.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.198, allocations: 0.512 MB / 1.319 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/1.206, allocations: 7.932 MB / 1.326 GB, free: 4.688 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/1.206, allocations: 1.063 MB / 1.327 GB, free: 3.973 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006125/1.207, allocations: 198.3 kB / 1.328 GB, free: 3.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/1.207, allocations: 362.8 kB / 1.328 GB, free: 3.922 MB / 1.014 GB Notification: Performance of SimCode: time 2.01e-07/1.207, allocations: 0 / 1.328 GB, free: 3.922 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.657/2.864, allocations: 27.76 MB / 1.355 GB, free: 12.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/14.53, allocations: 7.875 kB / 1.355 GB, free: 12.91 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