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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001567/0.001567, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001633/0.001633, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.48/2.48, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.494/4.494, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000807/0.0008072, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567/1.568, allocations: 146.8 MB / 0.9809 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4358/2.004, allocations: 205.6 MB / 1.182 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04927/2.053, allocations: 18.86 MB / 1.2 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/2.058, allocations: 43.69 kB / 1.2 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005095/2.063, allocations: 0.587 MB / 1.201 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/2.074, allocations: 1.502 MB / 1.202 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.009153/2.083, allocations: 1.468 MB / 1.204 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008074/2.092, allocations: 1.772 MB / 1.205 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/2.095, allocations: 0.9227 MB / 1.206 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004373/2.099, allocations: 0.9304 MB / 1.207 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/2.102, allocations: 0.5796 MB / 1.208 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/2.102, allocations: 36 kB / 1.208 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/2.106, allocations: 0.8034 MB / 1.209 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005939/2.107, allocations: 267.1 kB / 1.209 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009827/2.108, allocations: 261.1 kB / 1.209 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004135/2.112, allocations: 1.492 MB / 1.211 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/2.112, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.958e-06/2.112, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.935e-05/2.112, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9669 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.004125/2.116, allocations: 1.223 MB / 1.212 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 8.63e-05/2.116, allocations: 15.97 kB / 1.212 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003335/2.117, allocations: 139.5 kB / 1.212 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/2.119, allocations: 234.3 kB / 1.212 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/2.122, allocations: 0.8186 MB / 1.213 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/2.122, allocations: 188.8 kB / 1.213 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/2.122, allocations: 88 kB / 1.213 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/2.126, allocations: 0.9168 MB / 1.214 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/2.126, allocations: 0 / 1.214 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003376/2.126, allocations: 36 kB / 1.214 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/2.126, allocations: 27.95 kB / 1.214 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/2.128, allocations: 0.6207 MB / 1.215 GB, free: 6.254 MB / 0.9669 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.01097/2.139, allocations: 4.431 MB / 1.219 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/2.14, allocations: 192.1 kB / 1.219 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/2.142, allocations: 0.6688 MB / 1.22 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.974e-05/2.142, allocations: 34.56 kB / 1.22 GB, free: 380 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 5.821e-06/2.142, allocations: 0 / 1.22 GB, free: 380 kB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.002321/2.144, allocations: 461 kB / 1.22 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/2.144, allocations: 55.41 kB / 1.22 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/2.148, allocations: 1.09 MB / 1.221 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/2.148, allocations: 33.7 kB / 1.221 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/2.149, allocations: 0.5117 MB / 1.222 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/2.149, allocations: 90.77 kB / 1.222 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/2.149, allocations: 8 kB / 1.222 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002718/2.149, allocations: 321.9 kB / 1.222 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/2.15, allocations: 128.8 kB / 1.223 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009595/2.151, allocations: 391.6 kB / 1.223 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/2.151, allocations: 195.8 kB / 1.223 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/2.151, allocations: 0 / 1.223 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002336/2.154, allocations: 0.5348 MB / 1.224 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/2.154, allocations: 8 kB / 1.224 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/2.154, allocations: 8.844 kB / 1.224 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/2.154, allocations: 12 kB / 1.224 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/2.155, allocations: 91.83 kB / 1.224 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/2.155, allocations: 15.94 kB / 1.224 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/2.156, allocations: 129.1 kB / 1.224 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/2.157, allocations: 27.98 kB / 1.224 GB, free: 12.12 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008491/2.157, allocations: 293.5 kB / 1.224 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/2.158, allocations: 106.6 kB / 1.224 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/2.159, allocations: 427.4 kB / 1.225 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/2.159, allocations: 0 / 1.225 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/2.159, allocations: 0 / 1.225 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/2.159, allocations: 4.188 kB / 1.225 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/2.164, allocations: 1.511 MB / 1.226 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/2.164, allocations: 4 kB / 1.226 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/2.164, allocations: 44.47 kB / 1.226 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.536e-05/2.164, allocations: 12.05 kB / 1.226 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/2.164, allocations: 16 kB / 1.226 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/2.164, allocations: 8 kB / 1.226 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/2.164, allocations: 7.938 kB / 1.226 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/2.166, allocations: 0.7925 MB / 1.227 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008551/2.167, allocations: 239.6 kB / 1.227 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/2.167, allocations: 15.98 kB / 1.227 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/2.168, allocations: 31.92 kB / 1.227 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/2.168, allocations: 35.8 kB / 1.227 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/2.168, allocations: 12 kB / 1.227 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002422/2.171, allocations: 0.7664 MB / 1.228 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.3e-07/2.171, allocations: 0 / 1.228 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002226/2.173, allocations: 287.5 kB / 1.228 GB, free: 7.223 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005022/2.178, allocations: 2.734 MB / 1.231 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001471/2.18, allocations: 323.8 kB / 1.231 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/2.18, allocations: 4 kB / 1.231 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/2.18, allocations: 134 kB / 1.231 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/2.184, allocations: 480.7 kB / 1.232 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/2.211, allocations: 10.13 MB / 1.242 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/2.212, allocations: 1.079 MB / 1.243 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001939/2.214, allocations: 198.8 kB / 1.243 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007802/2.215, allocations: 367.2 kB / 1.243 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of SimCode: time 2.003e-06/2.215, allocations: 0 / 1.243 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.295/3.51, allocations: 26.23 MB / 1.269 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003083/3.51, allocations: 244 kB / 1.269 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.258/7.769, allocations: 0 / 1.269 GB, free: 261.9 MB / 0.9981 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat does not exist to compare? outputFormat=mat