Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_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.007578/0.007578, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001985/0.001985, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.351/2.351, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5861/0.5878, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2264/0.8142, allocations: 249 MB / 1.463 GB, free: 8.121 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.8369, allocations: 22.28 MB / 1.485 GB, free: 1.777 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009314/0.8378, allocations: 55.69 kB / 1.485 GB, free: 1.723 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.8398, allocations: 0.9781 MB / 1.486 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.8426, allocations: 1.46 MB / 1.487 GB, free: 15.27 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.8464, allocations: 1.936 MB / 1.489 GB, free: 13.34 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002588/0.849, allocations: 2.686 MB / 1.492 GB, free: 10.64 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.8505, allocations: 1.332 MB / 1.493 GB, free: 9.266 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.8523, allocations: 1.335 MB / 1.495 GB, free: 7.926 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.8534, allocations: 0.9143 MB / 1.496 GB, free: 7.008 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.8535, allocations: 116 kB / 1.496 GB, free: 6.895 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.8561, allocations: 1.672 MB / 1.497 GB, free: 5.219 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.8564, allocations: 378.9 kB / 1.498 GB, free: 4.848 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.857, allocations: 0.6376 MB / 1.498 GB, free: 4.207 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.8595, allocations: 2.281 MB / 1.5 GB, free: 1.918 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8595, allocations: 4 kB / 1.5 GB, free: 1.914 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.647e-06/0.8595, allocations: 0 / 1.5 GB, free: 1.914 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.8595, allocations: 3.938 kB / 1.5 GB, free: 1.91 MB / 1.217 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.001707/0.8612, allocations: 1.509 MB / 1.502 GB, free: 356 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.8613, allocations: 8.031 kB / 1.502 GB, free: 348 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.8614, allocations: 143.5 kB / 1.502 GB, free: 196 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009342/0.8624, allocations: 235 kB / 1.502 GB, free: 15.96 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.8636, allocations: 0.9202 MB / 1.503 GB, free: 15 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.8638, allocations: 188.8 kB / 1.503 GB, free: 14.79 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.8639, allocations: 91.94 kB / 1.503 GB, free: 14.7 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.8652, allocations: 0.9285 MB / 1.504 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.8652, allocations: 0 / 1.504 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.8653, allocations: 39.98 kB / 1.504 GB, free: 13.7 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.8653, allocations: 24 kB / 1.504 GB, free: 13.67 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.8663, allocations: 0.6285 MB / 1.505 GB, free: 13.04 MB / 1.232 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.003943/0.8703, allocations: 4.445 MB / 1.509 GB, free: 8.203 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.8706, allocations: 198.5 kB / 1.51 GB, free: 8 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.8708, allocations: 140.9 kB / 1.51 GB, free: 7.859 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008871/0.8717, allocations: 1.021 MB / 1.511 GB, free: 6.617 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.8717, allocations: 38.5 kB / 1.511 GB, free: 6.57 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.8718, allocations: 0 / 1.511 GB, free: 6.57 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.0008876/0.8726, allocations: 479.5 kB / 1.511 GB, free: 6.098 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.8727, allocations: 55.41 kB / 1.511 GB, free: 6.031 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.8739, allocations: 1.11 MB / 1.512 GB, free: 4.906 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.874, allocations: 29.7 kB / 1.512 GB, free: 4.871 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.8744, allocations: 0.5165 MB / 1.513 GB, free: 4.352 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.8744, allocations: 91.2 kB / 1.513 GB, free: 4.262 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.8746, allocations: 98.03 kB / 1.513 GB, free: 4.16 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8747, allocations: 325.9 kB / 1.513 GB, free: 3.836 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.8749, allocations: 128.8 kB / 1.514 GB, free: 3.711 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.8753, allocations: 383.1 kB / 1.514 GB, free: 3.227 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.8759, allocations: 467.6 kB / 1.514 GB, free: 2.684 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.8759, allocations: 8 kB / 1.514 GB, free: 2.676 MB / 1.232 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008076/0.8767, allocations: 0.54 MB / 1.515 GB, free: 2.129 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8768, allocations: 15.94 kB / 1.515 GB, free: 2.113 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.8768, allocations: 4 kB / 1.515 GB, free: 2.109 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.8768, allocations: 12 kB / 1.515 GB, free: 2.098 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.8771, allocations: 91.83 kB / 1.515 GB, free: 2.008 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.8771, allocations: 15.94 kB / 1.515 GB, free: 1.992 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.8776, allocations: 95.27 kB / 1.515 GB, free: 1.898 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.8777, allocations: 28 kB / 1.515 GB, free: 1.871 MB / 1.232 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.0003119/0.878, allocations: 285.6 kB / 1.515 GB, free: 1.582 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.8782, allocations: 115.2 kB / 1.515 GB, free: 1.469 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/0.8788, allocations: 418.8 kB / 1.516 GB, free: 1.055 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.8788, allocations: 4 kB / 1.516 GB, free: 1.051 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8788, allocations: 0 / 1.516 GB, free: 1.051 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.8788, allocations: 0 / 1.516 GB, free: 1.051 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.8807, allocations: 1.566 MB / 1.517 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.8807, allocations: 8.5 kB / 1.517 GB, free: 15.37 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.8809, allocations: 39.92 kB / 1.517 GB, free: 15.33 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.8809, allocations: 12 kB / 1.517 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.8809, allocations: 8 kB / 1.517 GB, free: 15.31 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.8809, allocations: 8 kB / 1.517 GB, free: 15.3 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.8809, allocations: 7.938 kB / 1.517 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.8815, allocations: 0.5781 MB / 1.518 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.8818, allocations: 236.3 kB / 1.518 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8819, allocations: 8 kB / 1.518 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.8823, allocations: 23.98 kB / 1.518 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.8823, allocations: 31.84 kB / 1.518 GB, free: 14.33 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.8823, allocations: 8 kB / 1.518 GB, free: 14.32 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009113/0.8833, allocations: 0.7822 MB / 1.519 GB, free: 13.54 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8833, allocations: 0 / 1.519 GB, free: 13.54 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006617/0.8839, allocations: 291.4 kB / 1.519 GB, free: 13.25 MB / 1.248 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.001307/0.8852, allocations: 1.344 MB / 1.521 GB, free: 11.83 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005427/0.8858, allocations: 343.5 kB / 1.521 GB, free: 11.5 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8858, allocations: 5.312 kB / 1.521 GB, free: 11.49 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.886, allocations: 144.4 kB / 1.521 GB, free: 11.35 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.888, allocations: 0.5125 MB / 1.522 GB, free: 10.85 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.8963, allocations: 7.441 MB / 1.529 GB, free: 3 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.897, allocations: 1.063 MB / 1.53 GB, free: 1.91 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005123/0.8975, allocations: 189.5 kB / 1.53 GB, free: 1.727 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.8979, allocations: 363.3 kB / 1.531 GB, free: 1.371 MB / 1.248 GB Notification: Performance of SimCode: time 2.4e-07/0.8979, allocations: 0 / 1.531 GB, free: 1.371 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.251/3.149, allocations: 28.04 MB / 1.558 GB, free: 5.703 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/18.99, allocations: 15.75 kB / 1.558 GB, free: 5.688 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches