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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.001029/0.001029, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.301/1.301, 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.554/2.554, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.509, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6892/1.198, allocations: 249 MB / 1.261 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02203/1.22, allocations: 22.27 MB / 1.282 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/1.222, allocations: 52.44 kB / 1.282 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/1.224, allocations: 0.9767 MB / 1.283 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/1.227, allocations: 1.468 MB / 1.285 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/1.231, allocations: 1.927 MB / 1.287 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002464/1.233, allocations: 2.686 MB / 1.289 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/1.235, allocations: 1.32 MB / 1.291 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/1.237, allocations: 1.334 MB / 1.292 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009778/1.238, allocations: 0.9137 MB / 1.293 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/1.238, allocations: 109 kB / 1.293 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/1.241, allocations: 1.673 MB / 1.294 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/1.241, allocations: 375.1 kB / 1.295 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005914/1.242, allocations: 0.6417 MB / 1.295 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/1.244, allocations: 2.235 MB / 1.298 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.244, allocations: 1.844 kB / 1.298 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/1.244, allocations: 0 / 1.298 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.472e-05/1.244, allocations: 0.75 kB / 1.298 GB, free: 1.34 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.001753/1.246, allocations: 1.465 MB / 1.299 GB, free: 16.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/1.246, allocations: 10.42 kB / 1.299 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/1.246, allocations: 139.3 kB / 1.299 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/1.247, allocations: 232.3 kB / 1.299 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/1.248, allocations: 0.8469 MB / 1.3 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/1.249, allocations: 190.8 kB / 1.3 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/1.249, allocations: 89.97 kB / 1.301 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/1.25, allocations: 0.9338 MB / 1.301 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/1.25, allocations: 0.6875 kB / 1.301 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/1.25, allocations: 36.25 kB / 1.301 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/1.25, allocations: 26.67 kB / 1.301 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009262/1.251, allocations: 0.6306 MB / 1.302 GB, free: 15.84 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.003771/1.255, allocations: 4.472 MB / 1.306 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/1.255, allocations: 185.8 kB / 1.307 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/1.255, allocations: 143 kB / 1.307 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009291/1.256, allocations: 1.019 MB / 1.308 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.256, allocations: 37.17 kB / 1.308 GB, free: 11.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.903e-06/1.256, allocations: 0.9375 kB / 1.308 GB, free: 11.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0009535/1.257, allocations: 470.1 kB / 1.308 GB, free: 11.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/1.257, allocations: 61.97 kB / 1.308 GB, free: 11.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.258, allocations: 1.103 MB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/1.258, allocations: 32.45 kB / 1.309 GB, free: 11.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/1.259, allocations: 0.5118 MB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/1.259, allocations: 83.53 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/1.259, allocations: 101.9 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/1.259, allocations: 321.3 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/1.259, allocations: 131.7 kB / 1.311 GB, free: 10.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/1.26, allocations: 386.6 kB / 1.311 GB, free: 10.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/1.26, allocations: 470 kB / 1.311 GB, free: 10.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.26, allocations: 4.281 kB / 1.311 GB, free: 10.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007731/1.261, allocations: 0.5389 MB / 1.312 GB, free: 10.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.261, allocations: 9.188 kB / 1.312 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.261, allocations: 8.656 kB / 1.312 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.261, allocations: 8.953 kB / 1.312 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/1.261, allocations: 90.2 kB / 1.312 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/1.261, allocations: 16.59 kB / 1.312 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/1.262, allocations: 92.42 kB / 1.312 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/1.262, allocations: 25.16 kB / 1.312 GB, free: 10.34 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.0002953/1.262, allocations: 285.1 kB / 1.312 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/1.263, allocations: 102.2 kB / 1.312 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/1.263, allocations: 435 kB / 1.313 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.263, allocations: 0.9062 kB / 1.313 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.263, allocations: 3.938 kB / 1.313 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.263, allocations: 3.688 kB / 1.313 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/1.265, allocations: 1.546 MB / 1.314 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.265, allocations: 5.656 kB / 1.314 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/1.265, allocations: 44.3 kB / 1.314 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.265, allocations: 5.812 kB / 1.314 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/1.265, allocations: 16.31 kB / 1.314 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.265, allocations: 15.14 kB / 1.315 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.265, allocations: 9.422 kB / 1.315 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/1.266, allocations: 0.5674 MB / 1.315 GB, free: 9.301 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/1.266, allocations: 241.4 kB / 1.315 GB, free: 9.148 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.266, allocations: 13.91 kB / 1.315 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/1.267, allocations: 18.61 kB / 1.315 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/1.267, allocations: 35.83 kB / 1.315 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/1.267, allocations: 13.62 kB / 1.315 GB, free: 9.141 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000819/1.268, allocations: 0.7776 MB / 1.316 GB, free: 9.031 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.268, allocations: 0 / 1.316 GB, free: 9.031 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008214/1.268, allocations: 277.8 kB / 1.316 GB, free: 9 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.001252/1.27, allocations: 1.352 MB / 1.318 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005028/1.27, allocations: 349.2 kB / 1.318 GB, free: 8.098 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.27, allocations: 1.031 kB / 1.318 GB, free: 8.098 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/1.27, allocations: 141 kB / 1.318 GB, free: 8.098 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.273, allocations: 0.5134 MB / 1.319 GB, free: 8.027 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/1.28, allocations: 7.934 MB / 1.326 GB, free: 4.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/1.281, allocations: 1.064 MB / 1.327 GB, free: 3.898 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006905/1.282, allocations: 202.6 kB / 1.328 GB, free: 3.848 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/1.282, allocations: 363 kB / 1.328 GB, free: 3.84 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/1.282, allocations: 3.188 kB / 1.328 GB, free: 3.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/1.327, allocations: 27.76 MB / 1.355 GB, free: 12.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/8.813, allocations: 2.062 kB / 1.355 GB, free: 12.86 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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