Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",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.00103/0.00103, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001313/0.001313, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 11.98 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8003, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008521/0.8012, allocations: 365 kB / 0.9542 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004423/0.8016, allocations: 179 kB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.8017, allocations: 4 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.436e-05/0.8018, allocations: 5.438 kB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.8018, allocations: 4.969 kB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.8021, allocations: 37.98 kB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.8023, allocations: 48.03 kB / 0.9545 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.8024, allocations: 14.64 kB / 0.9545 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.8024, allocations: 21.27 kB / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.8025, allocations: 16.58 kB / 0.9545 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.8025, allocations: 5.188 kB / 0.9545 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.8025, allocations: 2.188 kB / 0.9545 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.8026, allocations: 18.28 kB / 0.9546 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.8026, allocations: 37.33 kB / 0.9546 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.545e-05/0.8027, allocations: 51.7 kB / 0.9546 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8027, allocations: 1.219 kB / 0.9546 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8027, allocations: 0 / 0.9546 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.8027, allocations: 0 / 0.9546 GB, free: 7.527 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004455/0.8032, allocations: 389.3 kB / 0.955 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8032, allocations: 12.81 kB / 0.955 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.8033, allocations: 40.77 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.8034, allocations: 11.77 kB / 0.9551 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.8035, allocations: 186.6 kB / 0.9553 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.8035, allocations: 6.594 kB / 0.9553 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.8035, allocations: 7.641 kB / 0.9553 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.8037, allocations: 85.72 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.8037, allocations: 0 / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.8037, allocations: 4.578 kB / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8038, allocations: 1 kB / 0.9554 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.672e-05/0.8038, allocations: 44.72 kB / 0.9554 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.8044, allocations: 342.5 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.8046, allocations: 109.1 kB / 0.9558 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.8047, allocations: 65 kB / 0.9559 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.8047, allocations: 5.453 kB / 0.9559 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.8049, allocations: 102 kB / 0.956 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.8049, allocations: 3.938 kB / 0.956 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003312/0.8052, allocations: 154.9 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.8053, allocations: 54.91 kB / 0.9562 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.8054, allocations: 125.4 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.8054, allocations: 26.92 kB / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.8054, allocations: 98.44 kB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.8055, allocations: 19.41 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.8055, allocations: 4 kB / 0.9565 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.8055, allocations: 317.4 kB / 0.9568 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.8056, allocations: 33.42 kB / 0.9568 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.8057, allocations: 59.55 kB / 0.9568 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.527e-05/0.8057, allocations: 33.98 kB / 0.9569 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8058, allocations: 5.5 kB / 0.9569 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001884/0.8059, allocations: 132.6 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.806, allocations: 10.86 kB / 0.957 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.806, allocations: 1.094 kB / 0.957 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.806, allocations: 4.969 kB / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.8061, allocations: 8.953 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.8061, allocations: 2.281 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.8062, allocations: 2.281 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.8062, allocations: 26.05 kB / 0.9571 GB, free: 5.34 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.079e-05/0.8063, allocations: 135.7 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.8064, allocations: 7.312 kB / 0.9572 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.8064, allocations: 18.92 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.8064, allocations: 0 / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.8064, allocations: 0.9062 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8064, allocations: 0 / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.8068, allocations: 414.3 kB / 0.9576 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8068, allocations: 1.281 kB / 0.9576 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.8068, allocations: 12.75 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8068, allocations: 1.094 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.8068, allocations: 1 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8068, allocations: 1.156 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8068, allocations: 0 / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.807, allocations: 219 kB / 0.9578 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.8071, allocations: 91.73 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.8071, allocations: 7.516 kB / 0.9579 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.8072, allocations: 4 kB / 0.9579 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.8072, allocations: 9.547 kB / 0.9579 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.8073, allocations: 30.97 kB / 0.958 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.8073, allocations: 94.05 kB / 0.9581 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8073, allocations: 0 / 0.9581 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002628/0.8076, allocations: 16.41 kB / 0.9581 GB, free: 4.406 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003756/0.808, allocations: 0.7581 MB / 0.9588 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.8082, allocations: 92.27 kB / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8082, allocations: 0 / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.8082, allocations: 41.55 kB / 0.9589 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.8087, allocations: 72.84 kB / 0.959 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.8096, allocations: 0.6452 MB / 0.9596 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.8097, allocations: 0.6982 MB / 0.9603 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.394e-05/0.8098, allocations: 14.17 kB / 0.9603 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.8098, allocations: 28.92 kB / 0.9604 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.8098, allocations: 192 / 0.9604 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.8247, allocations: 2.614 MB / 0.9629 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.8249, allocations: 208.2 kB / 0.9631 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.596, allocations: 0 / 0.9631 GB, free: 0.9297 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat does not exist to compare? outputFormat=mat