Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.001689, allocations: 105 kB / 17.07 MB, free: 5.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 194.7 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.14/1.14, allocations: 147.6 MB / 445.6 MB, free: 8.434 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.326/0.326, allocations: 63.03 kB / 0.6109 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.4745, allocations: 83.16 MB / 0.6921 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003786/0.4783, allocations: 1.9 MB / 0.694 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.4804, allocations: 1.122 MB / 0.6951 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.4806, allocations: 1.625 kB / 0.6951 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.481, allocations: 99.38 kB / 0.6952 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.4813, allocations: 93.7 kB / 0.6953 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.4818, allocations: 158.1 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.4821, allocations: 216.7 kB / 0.6956 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.4823, allocations: 43.66 kB / 0.6957 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.4825, allocations: 95.38 kB / 0.6957 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.4827, allocations: 102.1 kB / 0.6958 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.4827, allocations: 17.72 kB / 0.6959 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.4829, allocations: 59.41 kB / 0.6959 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.483, allocations: 58.48 kB / 0.696 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.4832, allocations: 94.05 kB / 0.6961 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.4836, allocations: 269.2 kB / 0.6963 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4836, allocations: 0 / 0.6963 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4837, allocations: 0 / 0.6963 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.4837, allocations: 3.984 kB / 0.6963 GB, free: 10.13 MB / 0.5137 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.00133/0.485, allocations: 0.5472 MB / 0.6969 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4851, allocations: 9.125 kB / 0.6969 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.386e-05/0.4851, allocations: 42.23 kB / 0.6969 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.4852, allocations: 28.12 kB / 0.6969 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.4857, allocations: 286.4 kB / 0.6972 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4857, allocations: 8.688 kB / 0.6972 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4858, allocations: 11.66 kB / 0.6972 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.4861, allocations: 120.5 kB / 0.6973 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4861, allocations: 3.938 kB / 0.6973 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4861, allocations: 9.391 kB / 0.6974 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.4861, allocations: 2.156 kB / 0.6974 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.4865, allocations: 90.42 kB / 0.6974 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.4872, allocations: 446.3 kB / 0.6979 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.4876, allocations: 139.5 kB / 0.698 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.4878, allocations: 52.33 kB / 0.698 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4878, allocations: 1.375 kB / 0.6981 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.4881, allocations: 141.6 kB / 0.6982 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.4881, allocations: 0 / 0.6982 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.000688/0.4888, allocations: 252.2 kB / 0.6984 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.4889, allocations: 55.41 kB / 0.6985 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.4892, allocations: 326.5 kB / 0.6988 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.4893, allocations: 33.7 kB / 0.6988 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.4894, allocations: 144.4 kB / 0.699 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.4895, allocations: 35.7 kB / 0.699 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.4896, allocations: 61.69 kB / 0.6991 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4898, allocations: 334.8 kB / 0.6994 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.49, allocations: 79.95 kB / 0.6994 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.4902, allocations: 137.1 kB / 0.6996 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.4907, allocations: 189.7 kB / 0.6998 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.4907, allocations: 4 kB / 0.6998 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005881/0.4913, allocations: 275.7 kB / 0.7 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4913, allocations: 8 kB / 0.7 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4913, allocations: 0 / 0.7 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.4913, allocations: 8.156 kB / 0.7 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.4916, allocations: 47.91 kB / 0.7001 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4916, allocations: 3.938 kB / 0.7001 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.4917, allocations: 19.98 kB / 0.7001 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.4918, allocations: 8 kB / 0.7001 GB, free: 6.527 MB / 0.5137 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 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.492, allocations: 165.7 kB / 0.7003 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.492, allocations: 23.81 kB / 0.7003 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.4921, allocations: 26.19 kB / 0.7003 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.4921, allocations: 4 kB / 0.7003 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.4921, allocations: 3.984 kB / 0.7003 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4921, allocations: 0 / 0.7003 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009049/0.493, allocations: 0.5558 MB / 0.7009 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.4931, allocations: 0 / 0.7009 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.4931, allocations: 19.92 kB / 0.7009 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.4932, allocations: 4 kB / 0.7009 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4932, allocations: 0 / 0.7009 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4932, allocations: 4 kB / 0.7009 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4932, allocations: 0 / 0.7009 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.4937, allocations: 299.1 kB / 0.7012 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.4938, allocations: 104.9 kB / 0.7013 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.4939, allocations: 4 kB / 0.7013 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.494, allocations: 23.97 kB / 0.7013 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.4941, allocations: 19.97 kB / 0.7013 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.4941, allocations: 11.94 kB / 0.7013 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002343/0.4944, allocations: 205.9 kB / 0.7015 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4944, allocations: 4 kB / 0.7015 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003222/0.4947, allocations: 47.94 kB / 0.7016 GB, free: 4.922 MB / 0.5137 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 (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.002305/0.497, allocations: 1.14 MB / 0.7027 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.4976, allocations: 186.4 kB / 0.7029 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4976, allocations: 0 / 0.7029 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.4978, allocations: 75.83 kB / 0.703 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.4983, allocations: 58.08 kB / 0.703 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.5019, allocations: 2.573 MB / 0.7055 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.5023, allocations: 0.748 MB / 0.7063 GB, free: 160 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.5024, allocations: 37.94 kB / 0.7063 GB, free: 120 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.5026, allocations: 71.41 kB / 0.7064 GB, free: 48 kB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.5026, allocations: 0 / 0.7064 GB, free: 48 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.532, allocations: 5.413 MB / 0.7116 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.757, allocations: 7.188 kB / 0.7116 GB, free: 10.75 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.656721903011203] Failed to read output from testmodel.py, exit status != 0: 8.890502352034673 8.904644779 8.418330142 Calling exit ...