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.006918/0.006924, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001516/0.001516, allocations: 192.1 kB / 16.67 MB, free: 5.918 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 1.054 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3288, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9283/1.257, allocations: 249 MB / 1.45 GB, free: 13.93 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02547/1.283, allocations: 22.28 MB / 1.472 GB, free: 7.574 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/1.285, allocations: 51.69 kB / 1.472 GB, free: 7.523 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002974/1.288, allocations: 0.9664 MB / 1.473 GB, free: 6.551 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00439/1.292, allocations: 1.47 MB / 1.475 GB, free: 5.074 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005035/1.298, allocations: 1.93 MB / 1.476 GB, free: 3.148 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00436/1.302, allocations: 2.693 MB / 1.479 GB, free: 464 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/1.304, allocations: 1.323 MB / 1.48 GB, free: 15.1 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/1.307, allocations: 1.354 MB / 1.482 GB, free: 13.74 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/1.308, allocations: 0.9222 MB / 1.483 GB, free: 12.82 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/1.308, allocations: 108 kB / 1.483 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/1.312, allocations: 1.672 MB / 1.484 GB, free: 11.04 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/1.312, allocations: 382.9 kB / 1.485 GB, free: 10.66 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007082/1.313, allocations: 0.6299 MB / 1.485 GB, free: 10.03 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003175/1.316, allocations: 2.282 MB / 1.488 GB, free: 7.738 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.316, allocations: 0 / 1.488 GB, free: 7.738 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.054e-06/1.316, allocations: 3.938 kB / 1.488 GB, free: 7.734 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.95e-05/1.316, allocations: 0 / 1.488 GB, free: 7.734 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.001924/1.318, allocations: 1.472 MB / 1.489 GB, free: 6.207 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.318, allocations: 8.625 kB / 1.489 GB, free: 6.199 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/1.318, allocations: 143.5 kB / 1.489 GB, free: 6.051 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/1.319, allocations: 222.4 kB / 1.489 GB, free: 5.832 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/1.321, allocations: 0.9194 MB / 1.49 GB, free: 4.871 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/1.321, allocations: 180.8 kB / 1.49 GB, free: 4.668 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.321, allocations: 99.88 kB / 1.491 GB, free: 4.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/1.323, allocations: 0.9285 MB / 1.491 GB, free: 3.609 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/1.323, allocations: 0 / 1.491 GB, free: 3.609 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/1.323, allocations: 36 kB / 1.491 GB, free: 3.574 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/1.323, allocations: 27.94 kB / 1.492 GB, free: 3.547 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/1.324, allocations: 0.6363 MB / 1.492 GB, free: 2.91 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.004481/1.329, allocations: 4.419 MB / 1.496 GB, free: 14.1 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/1.329, allocations: 186.7 kB / 1.497 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/1.329, allocations: 150.1 kB / 1.497 GB, free: 13.76 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.33, allocations: 1.025 MB / 1.498 GB, free: 12.51 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/1.33, allocations: 34.56 kB / 1.498 GB, free: 12.47 MB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/1.33, allocations: 4 kB / 1.498 GB, free: 12.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.001001/1.331, allocations: 464.7 kB / 1.498 GB, free: 12 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/1.331, allocations: 59.33 kB / 1.498 GB, free: 11.93 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/1.333, allocations: 1.106 MB / 1.499 GB, free: 10.81 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/1.333, allocations: 33.7 kB / 1.499 GB, free: 10.77 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/1.333, allocations: 0.5079 MB / 1.5 GB, free: 10.26 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/1.333, allocations: 90.73 kB / 1.5 GB, free: 10.17 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/1.333, allocations: 94.03 kB / 1.5 GB, free: 10.07 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.333, allocations: 322 kB / 1.5 GB, free: 9.754 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/1.334, allocations: 128.8 kB / 1.501 GB, free: 9.625 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/1.334, allocations: 391.7 kB / 1.501 GB, free: 9.137 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/1.335, allocations: 467.6 kB / 1.501 GB, free: 8.594 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.335, allocations: 0 / 1.501 GB, free: 8.594 MB / 1.186 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008348/1.336, allocations: 0.5349 MB / 1.502 GB, free: 8.051 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.336, allocations: 11.94 kB / 1.502 GB, free: 8.039 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.336, allocations: 8 kB / 1.502 GB, free: 8.031 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.336, allocations: 8.688 kB / 1.502 GB, free: 8.023 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/1.336, allocations: 91.83 kB / 1.502 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.336, allocations: 27.81 kB / 1.502 GB, free: 7.906 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/1.337, allocations: 94.94 kB / 1.502 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/1.337, allocations: 27.98 kB / 1.502 GB, free: 7.785 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.0003611/1.337, allocations: 285.6 kB / 1.502 GB, free: 7.496 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.337, allocations: 106.6 kB / 1.502 GB, free: 7.391 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006784/1.338, allocations: 420.9 kB / 1.503 GB, free: 6.965 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.338, allocations: 4 kB / 1.503 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.338, allocations: 0 / 1.503 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.338, allocations: 3.984 kB / 1.503 GB, free: 6.957 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/1.34, allocations: 1.55 MB / 1.504 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.34, allocations: 4 kB / 1.504 GB, free: 5.293 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/1.34, allocations: 47.86 kB / 1.504 GB, free: 5.246 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/1.34, allocations: 8.281 kB / 1.504 GB, free: 5.238 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/1.34, allocations: 11.98 kB / 1.504 GB, free: 5.227 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.34, allocations: 4 kB / 1.504 GB, free: 5.223 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.34, allocations: 8.406 kB / 1.504 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/1.341, allocations: 0.5766 MB / 1.505 GB, free: 4.57 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/1.341, allocations: 235.7 kB / 1.505 GB, free: 4.32 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.341, allocations: 12 kB / 1.505 GB, free: 4.309 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/1.342, allocations: 11.98 kB / 1.505 GB, free: 4.297 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/1.342, allocations: 35.84 kB / 1.505 GB, free: 4.262 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/1.342, allocations: 16 kB / 1.505 GB, free: 4.246 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009627/1.343, allocations: 0.7744 MB / 1.506 GB, free: 3.465 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.343, allocations: 0 / 1.506 GB, free: 3.465 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008309/1.344, allocations: 283.5 kB / 1.506 GB, free: 3.188 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.001408/1.345, allocations: 1.353 MB / 1.508 GB, free: 1.762 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005623/1.346, allocations: 340.3 kB / 1.508 GB, free: 1.43 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.346, allocations: 3.938 kB / 1.508 GB, free: 1.426 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/1.346, allocations: 137.2 kB / 1.508 GB, free: 1.293 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.348, allocations: 0.5179 MB / 1.509 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008971/1.357, allocations: 7.396 MB / 1.516 GB, free: 8.977 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/1.358, allocations: 1.063 MB / 1.517 GB, free: 7.887 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006891/1.358, allocations: 203.2 kB / 1.517 GB, free: 7.691 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/1.359, allocations: 359.3 kB / 1.517 GB, free: 7.344 MB / 1.201 GB Notification: Performance of SimCode: time 7.11e-07/1.359, allocations: 0 / 1.517 GB, free: 7.344 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05783/1.417, allocations: 28.39 MB / 1.545 GB, free: 11.32 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.279/10.7, allocations: 5.547 kB / 1.545 GB, free: 11.32 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