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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 214.9 kB / 23.02 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.186/3.186, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 65.3 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.368, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2907/0.6587, allocations: 222.1 MB / 1.562 GB, free: 1.039 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03092/0.6897, allocations: 20.55 MB / 1.582 GB, free: 12.43 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.6919, allocations: 79.31 kB / 1.582 GB, free: 12.36 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.6952, allocations: 0.986 MB / 1.583 GB, free: 11.36 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.7003, allocations: 1.507 MB / 1.585 GB, free: 9.852 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.005788/0.706, allocations: 1.968 MB / 1.587 GB, free: 7.887 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.004947/0.711, allocations: 2.702 MB / 1.589 GB, free: 5.172 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.713, allocations: 0.9697 MB / 1.59 GB, free: 4.168 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.7172, allocations: 1.635 MB / 1.592 GB, free: 2.527 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.7192, allocations: 0.9533 MB / 1.593 GB, free: 1.57 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.7194, allocations: 108 kB / 1.593 GB, free: 1.465 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.7228, allocations: 1.403 MB / 1.594 GB, free: 60 kB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.7233, allocations: 382.9 kB / 1.595 GB, free: 15.68 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0008727/0.7242, allocations: 0.5172 MB / 1.595 GB, free: 15.16 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.7286, allocations: 2.308 MB / 1.597 GB, free: 12.85 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7286, allocations: 0 / 1.597 GB, free: 12.85 MB / 1.295 GB Notification: Performance of FrontEnd: time 4.819e-06/0.7286, allocations: 4 kB / 1.597 GB, free: 12.84 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.051e-05/0.7286, allocations: 0 / 1.597 GB, free: 12.84 MB / 1.295 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.002467/0.7311, allocations: 1.442 MB / 1.599 GB, free: 11.36 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7311, allocations: 12.03 kB / 1.599 GB, free: 11.35 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.647e-05/0.7312, allocations: 26 kB / 1.599 GB, free: 11.33 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.7313, allocations: 139.5 kB / 1.599 GB, free: 11.18 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.7325, allocations: 231 kB / 1.599 GB, free: 10.96 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.7342, allocations: 0.852 MB / 1.6 GB, free: 10.08 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.7344, allocations: 295.5 kB / 1.6 GB, free: 9.742 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.7346, allocations: 92 kB / 1.6 GB, free: 9.652 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.7362, allocations: 0.9362 MB / 1.601 GB, free: 8.68 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.7363, allocations: 4 kB / 1.601 GB, free: 8.676 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.7363, allocations: 39.98 kB / 1.601 GB, free: 8.637 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.7364, allocations: 20 kB / 1.601 GB, free: 8.617 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.7375, allocations: 0.6246 MB / 1.602 GB, free: 7.996 MB / 1.295 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.004354/0.7418, allocations: 2.905 MB / 1.605 GB, free: 5.004 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.7423, allocations: 182.6 kB / 1.605 GB, free: 4.816 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.7425, allocations: 132.9 kB / 1.605 GB, free: 4.684 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/0.743, allocations: 127.9 kB / 1.605 GB, free: 4.559 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.7431, allocations: 34.5 kB / 1.605 GB, free: 4.516 MB / 1.295 GB Notification: Performance of pre-optimization done (n=24): time 2.284e-06/0.7431, allocations: 0 / 1.605 GB, free: 4.516 MB / 1.295 GB Notification: Performance of matching and sorting (n=24): time 0.001134/0.7442, allocations: 475.6 kB / 1.606 GB, free: 4.047 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7442, allocations: 59.34 kB / 1.606 GB, free: 3.977 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.7458, allocations: 1.122 MB / 1.607 GB, free: 2.84 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.7458, allocations: 29.7 kB / 1.607 GB, free: 2.805 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.7463, allocations: 0.5205 MB / 1.607 GB, free: 2.281 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.7463, allocations: 91.22 kB / 1.608 GB, free: 2.191 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.7465, allocations: 94.08 kB / 1.608 GB, free: 2.094 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7467, allocations: 330 kB / 1.608 GB, free: 1.766 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.7469, allocations: 128.8 kB / 1.608 GB, free: 1.637 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006849/0.7476, allocations: 0.7334 MB / 1.609 GB, free: 0.707 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.7483, allocations: 463.6 kB / 1.609 GB, free: 172 kB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7483, allocations: 4 kB / 1.609 GB, free: 168 kB / 1.295 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.7034/1.452, allocations: 0.5396 MB / 1.61 GB, free: 267.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.452, allocations: 7.938 kB / 1.61 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.452, allocations: 10.83 kB / 1.61 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/1.452, allocations: 9.531 kB / 1.61 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/1.452, allocations: 92.25 kB / 1.61 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/1.452, allocations: 10.95 kB / 1.61 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/1.453, allocations: 96.33 kB / 1.61 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/1.453, allocations: 25.94 kB / 1.61 GB, free: 267.8 MB / 1.295 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.0004403/1.453, allocations: 285 kB / 1.61 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/1.454, allocations: 113.5 kB / 1.61 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/1.454, allocations: 429.7 kB / 1.611 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.454, allocations: 3.109 kB / 1.611 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.454, allocations: 1.344 kB / 1.611 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.454, allocations: 3.375 kB / 1.611 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/1.457, allocations: 1.446 MB / 1.612 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.457, allocations: 5.125 kB / 1.612 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/1.457, allocations: 40.23 kB / 1.612 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/1.457, allocations: 7.344 kB / 1.612 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/1.457, allocations: 12.27 kB / 1.612 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/1.457, allocations: 13.81 kB / 1.612 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.457, allocations: 6.188 kB / 1.612 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/1.458, allocations: 0.5835 MB / 1.613 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/1.458, allocations: 166.6 kB / 1.613 GB, free: 266.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.458, allocations: 14.62 kB / 1.613 GB, free: 266.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/1.458, allocations: 17.16 kB / 1.613 GB, free: 266.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/1.458, allocations: 31.19 kB / 1.613 GB, free: 266.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.458, allocations: 16.19 kB / 1.613 GB, free: 266.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001187/1.46, allocations: 0.7885 MB / 1.614 GB, free: 266 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.46, allocations: 1 kB / 1.614 GB, free: 266 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001052/1.461, allocations: 293 kB / 1.614 GB, free: 266 MB / 1.295 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.001312/1.462, allocations: 1.314 MB / 1.615 GB, free: 265 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0007395/1.463, allocations: 334.7 kB / 1.616 GB, free: 264.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.463, allocations: 1.297 kB / 1.616 GB, free: 264.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/1.463, allocations: 138.7 kB / 1.616 GB, free: 264.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.465, allocations: 0.5206 MB / 1.616 GB, free: 264.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.477, allocations: 7.475 MB / 1.624 GB, free: 260.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008777/1.478, allocations: 484 kB / 1.624 GB, free: 260.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001248/1.48, allocations: 201.3 kB / 1.624 GB, free: 260.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000571/1.48, allocations: 362.2 kB / 1.625 GB, free: 260.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.813e-06/1.48, allocations: 0.5 kB / 1.625 GB, free: 260.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/1.545, allocations: 30.28 MB / 1.654 GB, free: 246.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/15.16, allocations: 10.67 kB / 1.654 GB, free: 246.6 MB / 1.295 GB " [Timeout remaining time 285] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.15226939995773]