Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001327/0.001327, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001997/0.001997, allocations: 211 kB / 20.13 MB, free: 2.969 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.932/2.932, allocations: 0.49 GB / 0.7923 GB, free: 1.355 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_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.001946/0.001946, allocations: 63.91 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8523/0.8543, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2952/1.149, allocations: 253.2 MB / 1.569 GB, free: 11.89 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02869/1.178, allocations: 22.46 MB / 1.591 GB, free: 5.363 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/1.18, allocations: 75.31 kB / 1.591 GB, free: 5.289 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003127/1.183, allocations: 0.9937 MB / 1.592 GB, free: 4.289 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.004904/1.188, allocations: 1.523 MB / 1.593 GB, free: 2.762 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/1.194, allocations: 1.95 MB / 1.595 GB, free: 0.8125 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004357/1.198, allocations: 2.667 MB / 1.598 GB, free: 14.13 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/1.2, allocations: 1.043 MB / 1.599 GB, free: 13.05 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/1.203, allocations: 1.6 MB / 1.6 GB, free: 11.45 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/1.205, allocations: 0.9494 MB / 1.601 GB, free: 10.49 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/1.205, allocations: 108 kB / 1.601 GB, free: 10.39 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/1.209, allocations: 1.804 MB / 1.603 GB, free: 8.578 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005733/1.21, allocations: 382.7 kB / 1.604 GB, free: 8.203 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/1.211, allocations: 0.6377 MB / 1.604 GB, free: 7.562 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004324/1.215, allocations: 2.367 MB / 1.606 GB, free: 5.188 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.215, allocations: 0 / 1.606 GB, free: 5.188 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.573e-06/1.215, allocations: 3.938 kB / 1.606 GB, free: 5.184 MB / 1.279 GB Notification: Performance of Transformations before backend: time 5.908e-05/1.215, allocations: 0 / 1.606 GB, free: 5.184 MB / 1.279 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.002725/1.218, allocations: 1.521 MB / 1.608 GB, free: 3.609 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.218, allocations: 11.98 kB / 1.608 GB, free: 3.598 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.2e-05/1.218, allocations: 30 kB / 1.608 GB, free: 3.566 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/1.218, allocations: 135.5 kB / 1.608 GB, free: 3.426 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.219, allocations: 243 kB / 1.608 GB, free: 3.188 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.221, allocations: 0.9357 MB / 1.609 GB, free: 2.211 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/1.221, allocations: 192.7 kB / 1.609 GB, free: 1.996 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.221, allocations: 88 kB / 1.61 GB, free: 1.91 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/1.223, allocations: 0.9363 MB / 1.61 GB, free: 0.9414 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/1.223, allocations: 3.938 kB / 1.61 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/1.223, allocations: 36 kB / 1.61 GB, free: 0.9023 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/1.223, allocations: 24 kB / 1.61 GB, free: 0.8789 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/1.224, allocations: 0.6246 MB / 1.611 GB, free: 260 kB / 1.279 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.004924/1.229, allocations: 4.44 MB / 1.615 GB, free: 11.42 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/1.229, allocations: 182.5 kB / 1.616 GB, free: 11.23 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/1.23, allocations: 144.8 kB / 1.616 GB, free: 11.09 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.231, allocations: 1.017 MB / 1.617 GB, free: 9.852 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/1.231, allocations: 42.53 kB / 1.617 GB, free: 9.801 MB / 1.295 GB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/1.231, allocations: 0 / 1.617 GB, free: 9.801 MB / 1.295 GB Notification: Performance of matching and sorting (n=24): time 0.001121/1.232, allocations: 476.7 kB / 1.617 GB, free: 9.328 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.232, allocations: 55.41 kB / 1.617 GB, free: 9.262 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.233, allocations: 1.118 MB / 1.618 GB, free: 8.129 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/1.233, allocations: 33.7 kB / 1.618 GB, free: 8.09 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/1.234, allocations: 0.5166 MB / 1.619 GB, free: 7.57 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-05/1.234, allocations: 91.25 kB / 1.619 GB, free: 7.48 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.234, allocations: 98.02 kB / 1.619 GB, free: 7.379 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.234, allocations: 322 kB / 1.619 GB, free: 7.059 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/1.234, allocations: 132.8 kB / 1.62 GB, free: 6.93 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/1.235, allocations: 379.1 kB / 1.62 GB, free: 6.453 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/1.236, allocations: 471.6 kB / 1.62 GB, free: 5.906 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.236, allocations: 4 kB / 1.62 GB, free: 5.902 MB / 1.295 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009907/1.237, allocations: 0.5518 MB / 1.621 GB, free: 5.344 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.237, allocations: 8 kB / 1.621 GB, free: 5.336 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.237, allocations: 11.98 kB / 1.621 GB, free: 5.324 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.237, allocations: 8 kB / 1.621 GB, free: 5.316 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/1.237, allocations: 87.83 kB / 1.621 GB, free: 5.23 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.237, allocations: 11.98 kB / 1.621 GB, free: 5.219 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/1.238, allocations: 95.28 kB / 1.621 GB, free: 5.125 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/1.238, allocations: 27.98 kB / 1.621 GB, free: 5.098 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.0003924/1.238, allocations: 291.7 kB / 1.621 GB, free: 4.805 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/1.238, allocations: 111.2 kB / 1.622 GB, free: 4.695 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007588/1.239, allocations: 423.9 kB / 1.622 GB, free: 4.27 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.239, allocations: 4 kB / 1.622 GB, free: 4.266 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.239, allocations: 7.922 kB / 1.622 GB, free: 4.258 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.239, allocations: 4 kB / 1.622 GB, free: 4.254 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/1.241, allocations: 1.555 MB / 1.623 GB, free: 2.59 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.241, allocations: 8.062 kB / 1.623 GB, free: 2.582 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/1.242, allocations: 51.94 kB / 1.624 GB, free: 2.531 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/1.242, allocations: 4 kB / 1.624 GB, free: 2.527 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.242, allocations: 8 kB / 1.624 GB, free: 2.52 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/1.242, allocations: 7.938 kB / 1.624 GB, free: 2.512 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.242, allocations: 8 kB / 1.624 GB, free: 2.504 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/1.242, allocations: 0.5818 MB / 1.624 GB, free: 1.855 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/1.243, allocations: 248.2 kB / 1.624 GB, free: 1.594 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.243, allocations: 8 kB / 1.624 GB, free: 1.586 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/1.243, allocations: 27.92 kB / 1.624 GB, free: 1.559 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/1.243, allocations: 31.84 kB / 1.624 GB, free: 1.527 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/1.243, allocations: 8 kB / 1.624 GB, free: 1.52 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001085/1.244, allocations: 0.7865 MB / 1.625 GB, free: 0.7266 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.244, allocations: 4 kB / 1.625 GB, free: 0.7227 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009266/1.245, allocations: 287.4 kB / 1.625 GB, free: 452 kB / 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.001437/1.247, allocations: 1.326 MB / 1.627 GB, free: 15.04 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0006759/1.247, allocations: 332.9 kB / 1.627 GB, free: 14.71 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.247, allocations: 0 / 1.627 GB, free: 14.71 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/1.248, allocations: 135.7 kB / 1.627 GB, free: 14.58 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/1.25, allocations: 0.521 MB / 1.628 GB, free: 14.07 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.26, allocations: 7.47 MB / 1.635 GB, free: 6.176 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/1.261, allocations: 1.071 MB / 1.636 GB, free: 5.078 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0008224/1.262, allocations: 200.1 kB / 1.636 GB, free: 4.887 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/1.263, allocations: 367.3 kB / 1.637 GB, free: 4.527 MB / 1.311 GB Notification: Performance of SimCode: time 1.022e-06/1.263, allocations: 0 / 1.637 GB, free: 4.527 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05979/1.322, allocations: 28.23 MB / 1.664 GB, free: 8.695 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.32, allocations: 9.406 kB / 1.664 GB, free: 8.688 MB / 1.342 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.789809821988456]