Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change",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.001034/0.001035, allocations: 91.84 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.001255/0.001255, 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.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.297 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.552/2.552, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004131, allocations: 15.98 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7841, allocations: 142.3 MB / 0.9539 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002171/0.7863, allocations: 1.587 MB / 0.9554 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.7879, allocations: 1.031 MB / 0.9564 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.788, allocations: 6.188 kB / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.7884, allocations: 88.33 kB / 0.9565 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.7886, allocations: 68.52 kB / 0.9566 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.7891, allocations: 126.7 kB / 0.9567 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.7893, allocations: 186.3 kB / 0.9569 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.7895, allocations: 37.42 kB / 0.9569 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.7896, allocations: 84.61 kB / 0.957 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.7898, allocations: 83.75 kB / 0.9571 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.7898, allocations: 5.625 kB / 0.9571 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.7899, allocations: 42.3 kB / 0.9571 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.79, allocations: 54.56 kB / 0.9572 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.7901, allocations: 52.48 kB / 0.9572 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.7904, allocations: 203 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.7905, allocations: 2.625 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.627e-06/0.7905, allocations: 0 / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7905, allocations: 0 / 0.9574 GB, free: 5.359 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008702/0.7914, allocations: 0.5126 MB / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.7914, allocations: 9.625 kB / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.7915, allocations: 42.47 kB / 0.958 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.7915, allocations: 25.48 kB / 0.958 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.7919, allocations: 270.8 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.7919, allocations: 9.031 kB / 0.9583 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.7919, allocations: 19.53 kB / 0.9583 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.7922, allocations: 121.8 kB / 0.9584 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.7922, allocations: 3.953 kB / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7923, allocations: 5.125 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.7923, allocations: 3.312 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.7925, allocations: 99.02 kB / 0.9585 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.7932, allocations: 456.8 kB / 0.9589 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.7935, allocations: 143.1 kB / 0.9591 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.7936, allocations: 56.45 kB / 0.9591 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.7937, allocations: 2.75 kB / 0.9591 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.7939, allocations: 135.5 kB / 0.9593 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.794, allocations: 5.312 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0005879/0.7945, allocations: 260 kB / 0.9595 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.7946, allocations: 62.5 kB / 0.9596 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.7949, allocations: 328.9 kB / 0.9599 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.7949, allocations: 32.23 kB / 0.9599 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.795, allocations: 135.4 kB / 0.96 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.795, allocations: 34.84 kB / 0.9601 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.7951, allocations: 4.781 kB / 0.9601 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.7951, allocations: 345.4 kB / 0.9604 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.7953, allocations: 90.38 kB / 0.9605 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.7955, allocations: 135.1 kB / 0.9606 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.7958, allocations: 86.84 kB / 0.9607 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7958, allocations: 1.375 kB / 0.9607 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004884/0.7963, allocations: 289.1 kB / 0.961 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7963, allocations: 6.438 kB / 0.961 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7963, allocations: 4.938 kB / 0.961 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7963, allocations: 3.406 kB / 0.961 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.7965, allocations: 44.75 kB / 0.961 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7966, allocations: 6.781 kB / 0.961 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.7967, allocations: 29.2 kB / 0.9611 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.7968, allocations: 12 kB / 0.9611 GB, free: 2.48 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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.0001312/0.7969, allocations: 160.9 kB / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.7969, allocations: 29.81 kB / 0.9613 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.797, allocations: 26.42 kB / 0.9613 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.797, allocations: 2.406 kB / 0.9613 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.797, allocations: 0 / 0.9613 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.797, allocations: 1.188 kB / 0.9613 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.7978, allocations: 0.5597 MB / 0.9618 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.7978, allocations: 4.969 kB / 0.9618 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.7979, allocations: 23.84 kB / 0.9619 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.7979, allocations: 1.062 kB / 0.9619 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.7979, allocations: 2.062 kB / 0.9619 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7979, allocations: 8.984 kB / 0.9619 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7979, allocations: 0 / 0.9619 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.7983, allocations: 305.4 kB / 0.9622 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.7984, allocations: 97.05 kB / 0.9623 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.7984, allocations: 10.55 kB / 0.9623 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.7986, allocations: 19.11 kB / 0.9623 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.7986, allocations: 18.14 kB / 0.9623 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.7987, allocations: 13.11 kB / 0.9623 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001846/0.7989, allocations: 202.3 kB / 0.9625 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7989, allocations: 0 / 0.9625 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003554/0.7992, allocations: 68.22 kB / 0.9626 GB, free: 1.305 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001921/0.8012, allocations: 1.142 MB / 0.9637 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.8017, allocations: 194.5 kB / 0.9639 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8017, allocations: 0 / 0.9639 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.8019, allocations: 83.2 kB / 0.964 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.8024, allocations: 47.8 kB / 0.964 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.8053, allocations: 1.509 MB / 0.9655 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.8057, allocations: 0.7506 MB / 0.9662 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.8058, allocations: 34.52 kB / 0.9662 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.806, allocations: 72.53 kB / 0.9663 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.806, allocations: 1.031 kB / 0.9663 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.8268, allocations: 5.046 MB / 0.9712 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/0.8271, allocations: 226.2 kB / 0.9715 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.691, allocations: 0 / 0.9715 GB, free: 11.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat does not exist to compare? outputFormat=mat