Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001279/0.001279, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.00149/0.00149, allocations: 193.2 kB / 20.03 MB, free: 3.055 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.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.246 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.111/1.111, allocations: 147.6 MB / 445.6 MB, free: 8.281 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.Discrete.Validation.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3315/0.3315, allocations: 56.67 kB / 0.6109 GB, free: 37.72 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.4902, allocations: 83.14 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002585/0.4928, allocations: 0.661 MB / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.4946, allocations: 1.053 MB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.4947, allocations: 1.062 kB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.4947, allocations: 0 / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.4948, allocations: 9.312 kB / 0.6938 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.4951, allocations: 37.95 kB / 0.6938 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.4952, allocations: 50.62 kB / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.4953, allocations: 5.375 kB / 0.6939 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.203e-05/0.4954, allocations: 27.67 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.4955, allocations: 26.08 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.4955, allocations: 2.938 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.4956, allocations: 18.7 kB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.4956, allocations: 5.5 kB / 0.6939 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.4957, allocations: 21.02 kB / 0.694 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.4958, allocations: 54.34 kB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4958, allocations: 0 / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4958, allocations: 0 / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4958, allocations: 0 / 0.694 GB, free: 11.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00064/0.4965, allocations: 367.5 kB / 0.6944 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4965, allocations: 14.72 kB / 0.6944 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.4966, allocations: 34.73 kB / 0.6944 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.4966, allocations: 6.703 kB / 0.6944 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4968, allocations: 167.9 kB / 0.6946 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4968, allocations: 10.16 kB / 0.6946 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.4968, allocations: 2.156 kB / 0.6946 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.497, allocations: 71.44 kB / 0.6946 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.497, allocations: 3.938 kB / 0.6947 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4971, allocations: 1.531 kB / 0.6947 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4971, allocations: 0 / 0.6947 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.4973, allocations: 46.67 kB / 0.6947 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.4977, allocations: 270.9 kB / 0.695 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.4979, allocations: 61.92 kB / 0.695 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.498, allocations: 29.39 kB / 0.695 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.4981, allocations: 2.312 kB / 0.695 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.4983, allocations: 83.7 kB / 0.6951 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4983, allocations: 4 kB / 0.6951 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.000424/0.4987, allocations: 115.2 kB / 0.6952 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.4988, allocations: 52.78 kB / 0.6953 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.4989, allocations: 112.7 kB / 0.6954 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.4989, allocations: 27.08 kB / 0.6954 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.499, allocations: 85.47 kB / 0.6955 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.499, allocations: 18.59 kB / 0.6955 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.4991, allocations: 27.2 kB / 0.6955 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4992, allocations: 320.2 kB / 0.6959 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.4993, allocations: 25.72 kB / 0.6959 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.4994, allocations: 47.86 kB / 0.6959 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.4997, allocations: 78.11 kB / 0.696 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4997, allocations: 3.938 kB / 0.696 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002652/0.4999, allocations: 103.7 kB / 0.6961 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5, allocations: 9.688 kB / 0.6961 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5, allocations: 1.281 kB / 0.6961 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5, allocations: 1.391 kB / 0.6961 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.5001, allocations: 17.28 kB / 0.6961 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5001, allocations: 2.312 kB / 0.6961 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.5002, allocations: 8.453 kB / 0.6961 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.5002, allocations: 2.938 kB / 0.6961 GB, free: 9.785 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001015/0.5003, allocations: 121.5 kB / 0.6963 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.5003, allocations: 10.05 kB / 0.6963 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.5006, allocations: 101.7 kB / 0.6964 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5006, allocations: 0 / 0.6964 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5007, allocations: 5.344 kB / 0.6964 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5007, allocations: 3.938 kB / 0.6964 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.5012, allocations: 355.5 kB / 0.6967 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5012, allocations: 5.219 kB / 0.6967 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.5012, allocations: 10.52 kB / 0.6967 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5012, allocations: 0 / 0.6967 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5013, allocations: 1.188 kB / 0.6967 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5013, allocations: 0 / 0.6967 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5013, allocations: 1.125 kB / 0.6967 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.5016, allocations: 204.1 kB / 0.6969 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.5016, allocations: 79.48 kB / 0.697 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.5017, allocations: 0 / 0.697 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.5018, allocations: 13.33 kB / 0.697 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.5018, allocations: 11.08 kB / 0.697 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.5018, allocations: 1.25 kB / 0.697 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.5019, allocations: 84.03 kB / 0.6971 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5019, allocations: 5.219 kB / 0.6971 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002414/0.5021, allocations: 13.41 kB / 0.6971 GB, free: 8.836 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006532/0.5028, allocations: 0.7323 MB / 0.6978 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.5031, allocations: 64.05 kB / 0.6979 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5031, allocations: 0.8125 kB / 0.6979 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.5032, allocations: 34.75 kB / 0.6979 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.5035, allocations: 16.28 kB / 0.6979 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.5051, allocations: 1.372 MB / 0.6993 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5054, allocations: 0.6824 MB / 0.7 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.5054, allocations: 6.75 kB / 0.7 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.5055, allocations: 19.55 kB / 0.7 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of SimCode: time 2.024e-06/0.5055, allocations: 0 / 0.7 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.5285, allocations: 1.74 MB / 0.7017 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.523, allocations: 11.77 kB / 0.7017 GB, free: 4.793 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.046928170137107] Failed to read output from testmodel.py, exit status != 0: 8.5912491499912 8.608214661 8.109347014999999 Calling exit ...