Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_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.007653/0.007653, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001789/0.001789, allocations: 195.8 kB / 16.67 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.615/2.615, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.89 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3101, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9517/1.262, allocations: 249 MB / 1.45 GB, free: 14.06 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03021/1.292, allocations: 22.28 MB / 1.472 GB, free: 7.711 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/1.294, allocations: 51.69 kB / 1.472 GB, free: 7.66 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/1.298, allocations: 0.9703 MB / 1.473 GB, free: 6.684 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004931/1.303, allocations: 1.472 MB / 1.475 GB, free: 5.207 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005713/1.308, allocations: 1.932 MB / 1.477 GB, free: 3.277 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004716/1.313, allocations: 2.689 MB / 1.479 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/1.316, allocations: 1.319 MB / 1.48 GB, free: 15.24 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/1.319, allocations: 1.354 MB / 1.482 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/1.321, allocations: 0.9184 MB / 1.483 GB, free: 12.96 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003712/1.321, allocations: 108 kB / 1.483 GB, free: 12.85 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/1.325, allocations: 1.68 MB / 1.484 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005962/1.326, allocations: 378.9 kB / 1.485 GB, free: 10.8 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/1.327, allocations: 0.6299 MB / 1.485 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004486/1.332, allocations: 2.286 MB / 1.488 GB, free: 7.871 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.332, allocations: 0 / 1.488 GB, free: 7.871 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.914e-06/1.332, allocations: 0 / 1.488 GB, free: 7.871 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.423e-05/1.332, allocations: 0 / 1.488 GB, free: 7.871 MB / 1.17 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.003114/1.335, allocations: 1.472 MB / 1.489 GB, free: 6.344 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.335, allocations: 8.625 kB / 1.489 GB, free: 6.336 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002693/1.335, allocations: 143.5 kB / 1.489 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/1.337, allocations: 222.4 kB / 1.489 GB, free: 5.969 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/1.339, allocations: 0.9116 MB / 1.49 GB, free: 5.016 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/1.339, allocations: 184.8 kB / 1.49 GB, free: 4.809 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/1.339, allocations: 95.94 kB / 1.491 GB, free: 4.715 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.341, allocations: 0.9362 MB / 1.491 GB, free: 3.746 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/1.341, allocations: 0 / 1.491 GB, free: 3.746 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/1.341, allocations: 36 kB / 1.491 GB, free: 3.711 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.341, allocations: 24 kB / 1.492 GB, free: 3.688 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.342, allocations: 0.6323 MB / 1.492 GB, free: 3.055 MB / 1.17 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.005209/1.347, allocations: 4.435 MB / 1.496 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/1.347, allocations: 182.7 kB / 1.497 GB, free: 14.04 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/1.348, allocations: 148.7 kB / 1.497 GB, free: 13.89 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.349, allocations: 1.017 MB / 1.498 GB, free: 12.65 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.349, allocations: 38.56 kB / 1.498 GB, free: 12.61 MB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 2.435e-06/1.349, allocations: 0 / 1.498 GB, free: 12.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.0011/1.35, allocations: 468.7 kB / 1.498 GB, free: 12.14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.35, allocations: 51.41 kB / 1.498 GB, free: 12.08 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/1.351, allocations: 1.114 MB / 1.499 GB, free: 10.95 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/1.352, allocations: 33.7 kB / 1.499 GB, free: 10.91 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/1.352, allocations: 0.5118 MB / 1.5 GB, free: 10.39 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/1.352, allocations: 86.75 kB / 1.5 GB, free: 10.31 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.352, allocations: 94.03 kB / 1.5 GB, free: 10.21 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.352, allocations: 322 kB / 1.5 GB, free: 9.891 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/1.353, allocations: 128.8 kB / 1.501 GB, free: 9.762 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/1.353, allocations: 383.7 kB / 1.501 GB, free: 9.281 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/1.354, allocations: 475.5 kB / 1.501 GB, free: 8.73 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.354, allocations: 0 / 1.501 GB, free: 8.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009702/1.355, allocations: 0.5349 MB / 1.502 GB, free: 8.188 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.355, allocations: 11.94 kB / 1.502 GB, free: 8.176 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.355, allocations: 11.94 kB / 1.502 GB, free: 8.164 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.355, allocations: 8 kB / 1.502 GB, free: 8.156 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/1.355, allocations: 92.52 kB / 1.502 GB, free: 8.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/1.355, allocations: 13.11 kB / 1.502 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/1.356, allocations: 102.9 kB / 1.502 GB, free: 7.953 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/1.356, allocations: 24 kB / 1.502 GB, free: 7.93 MB / 1.186 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.000366/1.356, allocations: 285.6 kB / 1.502 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/1.356, allocations: 106.6 kB / 1.502 GB, free: 7.535 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007225/1.357, allocations: 424.2 kB / 1.503 GB, free: 7.109 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.357, allocations: 4 kB / 1.503 GB, free: 7.105 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.357, allocations: 4 kB / 1.503 GB, free: 7.102 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.357, allocations: 0 / 1.503 GB, free: 7.102 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/1.359, allocations: 1.562 MB / 1.504 GB, free: 5.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.36, allocations: 4 kB / 1.504 GB, free: 5.426 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/1.36, allocations: 43.86 kB / 1.504 GB, free: 5.383 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.36, allocations: 8 kB / 1.504 GB, free: 5.375 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/1.36, allocations: 11.94 kB / 1.504 GB, free: 5.363 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.36, allocations: 8 kB / 1.505 GB, free: 5.355 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.36, allocations: 7.938 kB / 1.505 GB, free: 5.348 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/1.36, allocations: 0.5719 MB / 1.505 GB, free: 4.707 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/1.361, allocations: 231.8 kB / 1.505 GB, free: 4.461 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.361, allocations: 15.98 kB / 1.505 GB, free: 4.445 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/1.361, allocations: 19.97 kB / 1.505 GB, free: 4.426 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/1.362, allocations: 31.86 kB / 1.505 GB, free: 4.395 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/1.362, allocations: 12 kB / 1.505 GB, free: 4.383 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001037/1.363, allocations: 0.7783 MB / 1.506 GB, free: 3.598 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.363, allocations: 0 / 1.506 GB, free: 3.598 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009295/1.364, allocations: 283.5 kB / 1.506 GB, free: 3.32 MB / 1.186 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.001551/1.365, allocations: 1.348 MB / 1.508 GB, free: 1.902 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006297/1.366, allocations: 344.4 kB / 1.508 GB, free: 1.566 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.366, allocations: 0 / 1.508 GB, free: 1.566 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/1.366, allocations: 139.8 kB / 1.508 GB, free: 1.43 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.368, allocations: 0.5098 MB / 1.509 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.379, allocations: 7.4 MB / 1.516 GB, free: 9.113 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/1.38, allocations: 1.067 MB / 1.517 GB, free: 8.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007487/1.38, allocations: 202.1 kB / 1.517 GB, free: 7.828 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/1.381, allocations: 363.3 kB / 1.517 GB, free: 7.477 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/1.381, allocations: 3.938 kB / 1.517 GB, free: 7.473 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/1.441, allocations: 28.39 MB / 1.545 GB, free: 11.46 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.323/10.76, allocations: 1.547 kB / 1.545 GB, free: 11.46 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches