Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",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.001275/0.001275, allocations: 99.86 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.001575/0.001575, 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.252/2.252, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.916/3.916, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006355/0.0006356, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9735/0.9742, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.3622/1.336, allocations: 171.4 MB / 1.148 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02878/1.365, allocations: 10.58 MB / 1.159 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/1.369, allocations: 43.62 kB / 1.159 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004157/1.373, allocations: 0.6142 MB / 1.159 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008683/1.382, allocations: 1.445 MB / 1.161 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009234/1.391, allocations: 1.679 MB / 1.162 GB, free: 12.05 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004065/1.395, allocations: 1.336 MB / 1.164 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/1.398, allocations: 0.9216 MB / 1.164 GB, free: 9.777 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/1.4, allocations: 0.5994 MB / 1.165 GB, free: 9.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/1.401, allocations: 446 kB / 1.165 GB, free: 8.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003098/1.402, allocations: 36 kB / 1.166 GB, free: 8.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007811/1.409, allocations: 1.681 MB / 1.167 GB, free: 7.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009938/1.41, allocations: 454.8 kB / 1.168 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000822/1.411, allocations: 309 kB / 1.168 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005562/1.417, allocations: 2.089 MB / 1.17 GB, free: 4.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.417, allocations: 4 kB / 1.17 GB, free: 4.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.346e-06/1.417, allocations: 0 / 1.17 GB, free: 4.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.555e-05/1.417, allocations: 7.938 kB / 1.17 GB, free: 4.16 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004539/1.422, allocations: 1.441 MB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.578e-05/1.422, allocations: 8.562 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005939/1.422, allocations: 172.8 kB / 1.172 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/1.426, allocations: 377.8 kB / 1.172 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/1.429, allocations: 0.8573 MB / 1.173 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.429, allocations: 78.02 kB / 1.173 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/1.429, allocations: 107.9 kB / 1.173 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/1.434, allocations: 1.509 MB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/1.434, allocations: 3.938 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/1.434, allocations: 52 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/1.434, allocations: 57.55 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/1.437, allocations: 1.017 MB / 1.175 GB, free: 14.27 MB / 0.9356 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.01155/1.449, allocations: 5.844 MB / 1.181 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/1.45, allocations: 310.2 kB / 1.181 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/1.45, allocations: 372.8 kB / 1.182 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/1.45, allocations: 42.48 kB / 1.182 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 3.186e-06/1.45, allocations: 0 / 1.182 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.002169/1.453, allocations: 0.6716 MB / 1.183 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/1.453, allocations: 136.5 kB / 1.183 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004321/1.457, allocations: 1.667 MB / 1.184 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/1.457, allocations: 33.7 kB / 1.184 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009614/1.458, allocations: 0.5544 MB / 1.185 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/1.458, allocations: 94.64 kB / 1.185 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/1.458, allocations: 8 kB / 1.185 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.459, allocations: 314 kB / 1.185 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/1.459, allocations: 159.9 kB / 1.185 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/1.46, allocations: 264.5 kB / 1.186 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/1.46, allocations: 195.8 kB / 1.186 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/1.46, allocations: 0 / 1.186 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001612/1.462, allocations: 0.5431 MB / 1.186 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/1.462, allocations: 8 kB / 1.186 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.462, allocations: 160 / 1.186 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/1.462, allocations: 8.141 kB / 1.186 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/1.462, allocations: 55.92 kB / 1.186 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/1.462, allocations: 11.92 kB / 1.186 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.464, allocations: 118.5 kB / 1.187 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/1.464, allocations: 23.92 kB / 1.187 GB, free: 2.348 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0008652/1.465, allocations: 374.8 kB / 1.187 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004126/1.465, allocations: 138.3 kB / 1.187 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/1.466, allocations: 385.2 kB / 1.187 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/1.466, allocations: 7.953 kB / 1.187 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.467, allocations: 0 / 1.187 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.467, allocations: 0 / 1.187 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006693/1.473, allocations: 2.505 MB / 1.19 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.473, allocations: 4 kB / 1.19 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/1.474, allocations: 55.94 kB / 1.19 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.121e-05/1.474, allocations: 8 kB / 1.19 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/1.474, allocations: 12 kB / 1.19 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.335e-05/1.474, allocations: 15.92 kB / 1.19 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.474, allocations: 8.5 kB / 1.19 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/1.476, allocations: 0.9978 MB / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.477, allocations: 307.2 kB / 1.191 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004606/1.477, allocations: 12 kB / 1.191 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009574/1.478, allocations: 15.84 kB / 1.191 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/1.478, allocations: 43.95 kB / 1.191 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/1.478, allocations: 16 kB / 1.191 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003261/1.482, allocations: 1.195 MB / 1.193 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.41e-07/1.482, allocations: 0 / 1.193 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002012/1.484, allocations: 331.8 kB / 1.193 GB, free: 11.46 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.005216/1.489, allocations: 3.56 MB / 1.196 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001023/1.49, allocations: 347.8 kB / 1.197 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.49, allocations: 0 / 1.197 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004444/1.491, allocations: 161.2 kB / 1.197 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007639/1.498, allocations: 0.8523 MB / 1.198 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.524, allocations: 9.212 MB / 1.207 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.525, allocations: 1.224 MB / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002036/1.528, allocations: 298.6 kB / 1.208 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.529, allocations: 459.3 kB / 1.209 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of SimCode: time 1.422e-06/1.529, allocations: 4 kB / 1.209 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/1.66, allocations: 41.47 MB / 1.249 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/1.66, allocations: 227.1 kB / 1.249 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/4.431, allocations: 3.938 kB / 1.249 GB, free: 1.418 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat does not exist to compare? outputFormat=mat