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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 105.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 497.2 MB / 0.7811 GB, free: 11.91 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.134 GB, free: 11 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8952/0.8971, allocations: 173.9 MB / 1.304 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3103/1.207, allocations: 250.1 MB / 1.548 GB, free: 9.91 MB / 1.232 GB
Notification: Performance of NFInst.instExpressions: time 0.03071/1.238, allocations: 22.39 MB / 1.57 GB, free: 3.453 MB / 1.248 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/1.24, allocations: 55.62 kB / 1.57 GB, free: 3.398 MB / 1.248 GB
Notification: Performance of NFTyping.typeComponents: time 0.003315/1.243, allocations: 0.9976 MB / 1.571 GB, free: 2.395 MB / 1.248 GB
Notification: Performance of NFTyping.typeBindings: time 0.004963/1.248, allocations: 1.512 MB / 1.573 GB, free: 0.875 MB / 1.248 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005556/1.254, allocations: 1.957 MB / 1.574 GB, free: 14.92 MB / 1.264 GB
Notification: Performance of NFFlatten.flatten: time 0.004287/1.258, allocations: 2.659 MB / 1.577 GB, free: 12.26 MB / 1.264 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00194/1.26, allocations: 1.024 MB / 1.578 GB, free: 11.19 MB / 1.264 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003636/1.264, allocations: 1.588 MB / 1.58 GB, free: 9.598 MB / 1.264 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001777/1.265, allocations: 0.9455 MB / 1.581 GB, free: 8.648 MB / 1.264 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003403/1.266, allocations: 108 kB / 1.581 GB, free: 8.543 MB / 1.264 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00386/1.27, allocations: 1.761 MB / 1.582 GB, free: 6.777 MB / 1.264 GB
Notification: Performance of NFScalarize.scalarize: time 0.000629/1.27, allocations: 390.7 kB / 1.583 GB, free: 6.395 MB / 1.264 GB
Notification: Performance of NFVerifyModel.verify: time 0.0012/1.271, allocations: 0.6299 MB / 1.583 GB, free: 5.762 MB / 1.264 GB
Notification: Performance of NFConvertDAE.convert: time 0.00437/1.276, allocations: 2.281 MB / 1.586 GB, free: 3.473 MB / 1.264 GB
Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/1.276, allocations: 4 kB / 1.586 GB, free: 3.469 MB / 1.264 GB
Notification: Performance of FrontEnd: time 3.627e-06/1.276, allocations: 3.984 kB / 1.586 GB, free: 3.465 MB / 1.264 GB
Notification: Performance of Transformations before backend: time 6.906e-05/1.276, allocations: 0 / 1.586 GB, free: 3.465 MB / 1.264 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.002851/1.279, allocations: 1.513 MB / 1.587 GB, free: 1.898 MB / 1.264 GB
Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.279, allocations: 8.031 kB / 1.587 GB, free: 1.891 MB / 1.264 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/1.279, allocations: 139.5 kB / 1.587 GB, free: 1.746 MB / 1.264 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/1.28, allocations: 239.1 kB / 1.587 GB, free: 1.512 MB / 1.264 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/1.282, allocations: 0.9202 MB / 1.588 GB, free: 0.5469 MB / 1.264 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/1.282, allocations: 192.8 kB / 1.589 GB, free: 344 kB / 1.264 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/1.282, allocations: 91.94 kB / 1.589 GB, free: 252 kB / 1.264 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/1.284, allocations: 0.9286 MB / 1.59 GB, free: 15.28 MB / 1.279 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/1.284, allocations: 7.938 kB / 1.59 GB, free: 15.27 MB / 1.279 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-05/1.284, allocations: 36 kB / 1.59 GB, free: 15.23 MB / 1.279 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/1.284, allocations: 24 kB / 1.59 GB, free: 15.21 MB / 1.279 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/1.286, allocations: 0.6246 MB / 1.59 GB, free: 14.59 MB / 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.005736/1.291, allocations: 4.444 MB / 1.595 GB, free: 9.75 MB / 1.279 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/1.292, allocations: 182.5 kB / 1.595 GB, free: 9.562 MB / 1.279 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/1.292, allocations: 135.9 kB / 1.595 GB, free: 9.43 MB / 1.279 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001159/1.293, allocations: 1.025 MB / 1.596 GB, free: 8.184 MB / 1.279 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.293, allocations: 42.53 kB / 1.596 GB, free: 8.133 MB / 1.279 GB
Notification: Performance of pre-optimization done (n=24): time 2.394e-06/1.293, allocations: 3.938 kB / 1.596 GB, free: 8.129 MB / 1.279 GB
Notification: Performance of matching and sorting (n=24): time 0.001227/1.294, allocations: 468.7 kB / 1.596 GB, free: 7.664 MB / 1.279 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.294, allocations: 55.41 kB / 1.596 GB, free: 7.598 MB / 1.279 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.296, allocations: 1.102 MB / 1.597 GB, free: 6.48 MB / 1.279 GB
Notification: Performance of collectPreVariables (initialization): time 6.045e-05/1.296, allocations: 37.64 kB / 1.597 GB, free: 6.438 MB / 1.279 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004884/1.297, allocations: 0.5165 MB / 1.598 GB, free: 5.918 MB / 1.279 GB
Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/1.297, allocations: 95.19 kB / 1.598 GB, free: 5.824 MB / 1.279 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/1.297, allocations: 98.03 kB / 1.598 GB, free: 5.723 MB / 1.279 GB
Notification: Performance of setup shared object (initialization): time 0.0001423/1.297, allocations: 318 kB / 1.598 GB, free: 5.406 MB / 1.279 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/1.297, allocations: 132.8 kB / 1.599 GB, free: 5.273 MB / 1.279 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/1.298, allocations: 395.6 kB / 1.599 GB, free: 4.781 MB / 1.279 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/1.299, allocations: 471.5 kB / 1.599 GB, free: 4.234 MB / 1.279 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.299, allocations: 0 / 1.599 GB, free: 4.234 MB / 1.279 GB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.001142/1.3, allocations: 0.5437 MB / 1.6 GB, free: 3.684 MB / 1.279 GB
Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.3, allocations: 16.03 kB / 1.6 GB, free: 3.668 MB / 1.279 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.3, allocations: 8 kB / 1.6 GB, free: 3.66 MB / 1.279 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.3, allocations: 8 kB / 1.6 GB, free: 3.652 MB / 1.279 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/1.3, allocations: 83.84 kB / 1.6 GB, free: 3.57 MB / 1.279 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/1.3, allocations: 11.98 kB / 1.6 GB, free: 3.559 MB / 1.279 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008062/1.301, allocations: 103.3 kB / 1.6 GB, free: 3.457 MB / 1.279 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.649e-05/1.301, allocations: 24 kB / 1.6 GB, free: 3.434 MB / 1.279 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.0004835/1.302, allocations: 293.5 kB / 1.6 GB, free: 3.137 MB / 1.279 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/1.302, allocations: 111.2 kB / 1.601 GB, free: 3.027 MB / 1.279 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008479/1.303, allocations: 426.1 kB / 1.601 GB, free: 2.602 MB / 1.279 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.303, allocations: 4 kB / 1.601 GB, free: 2.598 MB / 1.279 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.303, allocations: 0 / 1.601 GB, free: 2.598 MB / 1.279 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.303, allocations: 0 / 1.601 GB, free: 2.598 MB / 1.279 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/1.305, allocations: 1.546 MB / 1.603 GB, free: 0.9414 MB / 1.279 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.305, allocations: 7.938 kB / 1.603 GB, free: 0.9336 MB / 1.279 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/1.306, allocations: 44.47 kB / 1.603 GB, free: 0.8906 MB / 1.279 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/1.306, allocations: 8 kB / 1.603 GB, free: 0.8828 MB / 1.279 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/1.306, allocations: 12 kB / 1.603 GB, free: 0.8711 MB / 1.279 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.306, allocations: 7.938 kB / 1.603 GB, free: 0.8633 MB / 1.279 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.306, allocations: 4 kB / 1.603 GB, free: 0.8594 MB / 1.279 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/1.307, allocations: 0.582 MB / 1.603 GB, free: 212 kB / 1.279 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/1.307, allocations: 244.5 kB / 1.603 GB, free: 15.95 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/1.307, allocations: 12 kB / 1.603 GB, free: 15.94 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/1.308, allocations: 15.98 kB / 1.603 GB, free: 15.92 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/1.308, allocations: 39.77 kB / 1.603 GB, free: 15.88 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/1.308, allocations: 16 kB / 1.603 GB, free: 15.87 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.001351/1.309, allocations: 0.7822 MB / 1.604 GB, free: 15.08 MB / 1.295 GB
Notification: Performance of sort global known variables: time 9e-08/1.309, allocations: 0 / 1.604 GB, free: 15.08 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.001129/1.31, allocations: 287.4 kB / 1.605 GB, free: 14.8 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.001846/1.312, allocations: 1.35 MB / 1.606 GB, free: 13.38 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.0007048/1.313, allocations: 331.5 kB / 1.606 GB, free: 13.05 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.313, allocations: 0 / 1.606 GB, free: 13.05 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002273/1.313, allocations: 142.1 kB / 1.606 GB, free: 12.91 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.316, allocations: 0.5132 MB / 1.607 GB, free: 12.41 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.327, allocations: 7.422 MB / 1.614 GB, free: 4.574 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/1.328, allocations: 1.063 MB / 1.615 GB, free: 3.484 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.0007893/1.329, allocations: 196.7 kB / 1.615 GB, free: 3.297 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/1.329, allocations: 367.3 kB / 1.616 GB, free: 2.941 MB / 1.295 GB
Notification: Performance of SimCode: time 7.61e-07/1.329, allocations: 0 / 1.616 GB, free: 2.941 MB / 1.295 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06521/1.395, allocations: 28.18 MB / 1.643 GB, free: 7.137 MB / 1.326 GB
Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.89, allocations: 3.859 kB / 1.643 GB, free: 7.133 MB / 1.326 GB
"
[Timeout remaining time 288]
(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_2/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: 18.052794062066823]