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) 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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001254/0.001254, allocations: 192.6 kB / 16.14 MB, free: 6.719 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 66.92 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2773, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6927/0.97, allocations: 246.7 MB / 1.293 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.9888, allocations: 22.28 MB / 1.315 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.9902, allocations: 48.66 kB / 1.315 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.9921, allocations: 0.7896 MB / 1.316 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.9948, allocations: 1.391 MB / 1.317 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.9986, allocations: 1.759 MB / 1.319 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003181/1.002, allocations: 3.538 MB / 1.322 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/1.003, allocations: 1.155 MB / 1.323 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/1.005, allocations: 1.199 MB / 1.325 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/1.006, allocations: 0.9403 MB / 1.325 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/1.006, allocations: 68.38 kB / 1.325 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/1.009, allocations: 1.898 MB / 1.327 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000293/1.01, allocations: 333 kB / 1.328 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005369/1.01, allocations: 0.6011 MB / 1.328 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/1.012, allocations: 2.298 MB / 1.33 GB, free: 324 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/1.012, allocations: 0 / 1.33 GB, free: 324 kB / 0.9981 GB Notification: Performance of FrontEnd: time 7.92e-07/1.012, allocations: 4 kB / 1.33 GB, free: 320 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.012, allocations: 3.438 kB / 1.33 GB, free: 320 kB / 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.001667/1.014, allocations: 1.464 MB / 1.332 GB, free: 15.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.014, allocations: 12.34 kB / 1.332 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/1.014, allocations: 146.3 kB / 1.332 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.015, allocations: 231.1 kB / 1.332 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/1.016, allocations: 0.8487 MB / 1.333 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.016, allocations: 184.9 kB / 1.333 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/1.017, allocations: 93.09 kB / 1.333 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/1.018, allocations: 0.9314 MB / 1.334 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.018, allocations: 6.844 kB / 1.334 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/1.018, allocations: 36.41 kB / 1.334 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/1.018, allocations: 21 kB / 1.334 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009421/1.019, allocations: 0.6292 MB / 1.335 GB, free: 14.79 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.003649/1.022, allocations: 4.45 MB / 1.339 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/1.023, allocations: 183 kB / 1.339 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/1.023, allocations: 147.5 kB / 1.34 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009189/1.024, allocations: 1.022 MB / 1.341 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.024, allocations: 33.97 kB / 1.341 GB, free: 10.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.734e-06/1.024, allocations: 0 / 1.341 GB, free: 10.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0008865/1.025, allocations: 474.2 kB / 1.341 GB, free: 10.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/1.025, allocations: 58.72 kB / 1.341 GB, free: 10.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/1.026, allocations: 1.105 MB / 1.342 GB, free: 10.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/1.026, allocations: 32.77 kB / 1.342 GB, free: 10.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/1.026, allocations: 0.509 MB / 1.343 GB, free: 10.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/1.026, allocations: 87.44 kB / 1.343 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/1.027, allocations: 95.59 kB / 1.343 GB, free: 10.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.027, allocations: 328.2 kB / 1.343 GB, free: 9.902 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/1.027, allocations: 133.9 kB / 1.343 GB, free: 9.898 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/1.027, allocations: 389.3 kB / 1.344 GB, free: 9.609 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/1.028, allocations: 471.2 kB / 1.344 GB, free: 9.371 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.028, allocations: 2.281 kB / 1.344 GB, free: 9.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007455/1.029, allocations: 0.5383 MB / 1.345 GB, free: 9.285 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.029, allocations: 11.52 kB / 1.345 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.029, allocations: 4.75 kB / 1.345 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.029, allocations: 8.156 kB / 1.345 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/1.029, allocations: 92.7 kB / 1.345 GB, free: 9.281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.029, allocations: 14.27 kB / 1.345 GB, free: 9.281 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/1.03, allocations: 128.7 kB / 1.345 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/1.03, allocations: 24.88 kB / 1.345 GB, free: 9.227 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.0002957/1.03, allocations: 281.3 kB / 1.345 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.03, allocations: 109.2 kB / 1.345 GB, free: 9.051 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005837/1.031, allocations: 424.1 kB / 1.346 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/1.031, allocations: 10.44 kB / 1.346 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.031, allocations: 288 / 1.346 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.031, allocations: 5.344 kB / 1.346 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.033, allocations: 1.536 MB / 1.347 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.033, allocations: 6.578 kB / 1.347 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/1.033, allocations: 48.41 kB / 1.347 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/1.033, allocations: 5.719 kB / 1.347 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.033, allocations: 15.77 kB / 1.347 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.033, allocations: 4.594 kB / 1.347 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.033, allocations: 7.312 kB / 1.347 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/1.033, allocations: 0.5748 MB / 1.348 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/1.034, allocations: 238.3 kB / 1.348 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.034, allocations: 16.53 kB / 1.348 GB, free: 8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/1.034, allocations: 24.97 kB / 1.348 GB, free: 8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/1.034, allocations: 32.2 kB / 1.348 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/1.034, allocations: 19.41 kB / 1.348 GB, free: 7.988 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000845/1.035, allocations: 0.7799 MB / 1.349 GB, free: 7.879 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.035, allocations: 0 / 1.349 GB, free: 7.879 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007569/1.036, allocations: 285.8 kB / 1.349 GB, free: 7.84 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.00122/1.037, allocations: 1.348 MB / 1.351 GB, free: 6.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004737/1.038, allocations: 328.3 kB / 1.351 GB, free: 6.906 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.038, allocations: 2.469 kB / 1.351 GB, free: 6.906 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/1.038, allocations: 140.1 kB / 1.351 GB, free: 6.906 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/1.04, allocations: 496.4 kB / 1.352 GB, free: 6.859 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009526/1.049, allocations: 8.198 MB / 1.36 GB, free: 3.109 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/1.05, allocations: 1.068 MB / 1.361 GB, free: 2.395 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007427/1.051, allocations: 196.4 kB / 1.361 GB, free: 2.348 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/1.051, allocations: 364.7 kB / 1.361 GB, free: 2.34 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.051, allocations: 0 / 1.361 GB, free: 2.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/1.091, allocations: 26.98 MB / 1.387 GB, free: 6.398 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.091, allocations: 268.6 kB / 1.388 GB, free: 6.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.327, allocations: 0 / 1.388 GB, free: 6.039 MB / 1.029 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) 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) Reference file matches