Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001317/0.001317, allocations: 106.6 kB / 17.07 MB, free: 5.824 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.001326/0.001326, allocations: 189.2 kB / 20.02 MB, free: 2.93 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.561/1.561, allocations: 222.9 MB / 245.7 MB, free: 4.328 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.075/1.075, allocations: 147.7 MB / 445.6 MB, free: 8.41 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.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 0.6109 GB, free: 20 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4061, allocations: 83.15 MB / 0.6921 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001813/0.408, allocations: 0.6548 MB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.4094, allocations: 1.06 MB / 0.6938 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.4094, allocations: 6.812 kB / 0.6938 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.4095, allocations: 3.938 kB / 0.6938 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.4095, allocations: 3.938 kB / 0.6938 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.4098, allocations: 45.33 kB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.4099, allocations: 48.75 kB / 0.6939 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.41, allocations: 13.28 kB / 0.6939 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.4101, allocations: 24.14 kB / 0.6939 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.4102, allocations: 30.27 kB / 0.6939 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.4102, allocations: 7.531 kB / 0.6939 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.718e-05/0.4103, allocations: 15.08 kB / 0.694 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.4103, allocations: 14.06 kB / 0.694 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.4103, allocations: 17.86 kB / 0.694 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.4105, allocations: 57.19 kB / 0.694 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4105, allocations: 1.031 kB / 0.694 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4105, allocations: 0 / 0.694 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.4105, allocations: 0 / 0.694 GB, free: 11.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006063/0.4111, allocations: 377 kB / 0.6944 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4112, allocations: 9.125 kB / 0.6944 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.4112, allocations: 32.25 kB / 0.6944 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.4112, allocations: 7.516 kB / 0.6944 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4114, allocations: 177.8 kB / 0.6946 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4114, allocations: 1.719 kB / 0.6946 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4114, allocations: 3.969 kB / 0.6946 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.4116, allocations: 72.25 kB / 0.6947 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4117, allocations: 3.984 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4117, allocations: 1.281 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.4117, allocations: 0.75 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.4119, allocations: 40.06 kB / 0.6947 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.4123, allocations: 279.3 kB / 0.695 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.4125, allocations: 66.08 kB / 0.6951 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4126, allocations: 30.83 kB / 0.6951 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.4127, allocations: 1.406 kB / 0.6951 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.4129, allocations: 74.09 kB / 0.6952 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.4129, allocations: 4 kB / 0.6952 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004352/0.4134, allocations: 130 kB / 0.6953 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4134, allocations: 52.75 kB / 0.6953 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.4135, allocations: 105.5 kB / 0.6954 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4135, allocations: 31.48 kB / 0.6955 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.4136, allocations: 84.09 kB / 0.6956 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.4136, allocations: 23.52 kB / 0.6956 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.4137, allocations: 24.44 kB / 0.6956 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4138, allocations: 324.7 kB / 0.6959 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4139, allocations: 23.39 kB / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.4141, allocations: 62.48 kB / 0.696 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.4143, allocations: 97.88 kB / 0.6961 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4143, allocations: 3.938 kB / 0.6961 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002966/0.4146, allocations: 122.3 kB / 0.6962 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4146, allocations: 5.938 kB / 0.6962 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4146, allocations: 1.094 kB / 0.6962 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4147, allocations: 1.031 kB / 0.6962 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.4148, allocations: 20.42 kB / 0.6962 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4148, allocations: 1.719 kB / 0.6962 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.4149, allocations: 9.266 kB / 0.6962 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4149, allocations: 8.719 kB / 0.6962 GB, free: 9.797 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.412e-05/0.415, allocations: 123.8 kB / 0.6964 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.415, allocations: 6.609 kB / 0.6964 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.4153, allocations: 106.5 kB / 0.6965 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4153, allocations: 0 / 0.6965 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4153, allocations: 1.406 kB / 0.6965 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4153, allocations: 3.984 kB / 0.6965 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.4158, allocations: 362.9 kB / 0.6968 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4158, allocations: 5.562 kB / 0.6968 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.4159, allocations: 14.86 kB / 0.6968 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4159, allocations: 1.375 kB / 0.6968 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4159, allocations: 0 / 0.6968 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4159, allocations: 1.375 kB / 0.6968 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4159, allocations: 3.938 kB / 0.6969 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.4162, allocations: 203.4 kB / 0.697 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.4163, allocations: 78.48 kB / 0.6971 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4163, allocations: 1.375 kB / 0.6971 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.4164, allocations: 9.484 kB / 0.6971 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.4165, allocations: 10.69 kB / 0.6971 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4165, allocations: 5.359 kB / 0.6971 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.4166, allocations: 88.78 kB / 0.6972 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.334e-06/0.4166, allocations: 0 / 0.6972 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002715/0.4168, allocations: 14.94 kB / 0.6972 GB, free: 8.844 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0006858/0.4175, allocations: 0.7273 MB / 0.698 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.4178, allocations: 81.06 kB / 0.698 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4178, allocations: 0 / 0.698 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.418, allocations: 40.7 kB / 0.6981 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.0002685/0.4182, allocations: 16 kB / 0.6981 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.4199, allocations: 1.413 MB / 0.6995 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4202, allocations: 0.6823 MB / 0.7001 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.4203, allocations: 4.125 kB / 0.7001 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.4203, allocations: 18.17 kB / 0.7002 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.4203, allocations: 0 / 0.7002 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.4427, allocations: 1.813 MB / 0.7019 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.696, allocations: 1.719 kB / 0.7019 GB, free: 4.594 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.29332662280649] Failed to read output from testmodel.py, exit status != 0: 8.765519157983363 8.780910467 8.367538966 Calling exit ...