Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 110.4 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.359/3.359, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 68.95 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002367/0.3321, allocations: 0.9845 MB / 1.328 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.3346, allocations: 1.661 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.3347, allocations: 3.938 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.3348, allocations: 15.8 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3349, allocations: 27.73 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.3355, allocations: 223.3 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.3359, allocations: 303.5 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.3361, allocations: 63.03 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.3364, allocations: 147.6 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3366, allocations: 123.6 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.3366, allocations: 28 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3367, allocations: 47.98 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.3368, allocations: 59.81 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3369, allocations: 119.6 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.3374, allocations: 318.9 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3374, allocations: 0 / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3374, allocations: 0 / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.3374, allocations: 4 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009903/0.3384, allocations: 471.4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3384, allocations: 8.031 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.248e-05/0.3385, allocations: 8.469 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.699e-05/0.3385, allocations: 50.72 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.3387, allocations: 40.72 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.3391, allocations: 202.2 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.3392, allocations: 24.64 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.3393, allocations: 20.38 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.3398, allocations: 223.7 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3398, allocations: 3.938 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.3398, allocations: 15.97 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3398, allocations: 4 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.3403, allocations: 172.7 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3413, allocations: 0.5889 MB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.3417, allocations: 158.4 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3419, allocations: 85.06 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.342, allocations: 7.906 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000548/0.3425, allocations: 265.7 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.3425, allocations: 0 / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001068/0.3436, allocations: 423.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.3437, allocations: 59.34 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3438, allocations: 156.7 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.3439, allocations: 45.7 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.344, allocations: 120.9 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.407e-05/0.3441, allocations: 67.5 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3442, allocations: 77.69 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.3444, allocations: 334.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.3447, allocations: 104 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.345, allocations: 151.3 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.3454, allocations: 217.3 kB / 1.335 GB, free: 9.605 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3454, allocations: 0 / 1.335 GB, free: 9.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007708/0.3462, allocations: 364.2 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.3463, allocations: 33.7 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3463, allocations: 8.047 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.3463, allocations: 4 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3465, allocations: 31.92 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.3465, allocations: 4 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.3468, allocations: 51.8 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.3468, allocations: 12 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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.0002691/0.3471, allocations: 166.2 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.3471, allocations: 15.91 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.3472, allocations: 21.97 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3472, allocations: 4 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3472, allocations: 0 / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3472, allocations: 3.984 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3484, allocations: 0.673 MB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3484, allocations: 0 / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.3485, allocations: 11.94 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3485, allocations: 0 / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.3485, allocations: 15.97 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3485, allocations: 4 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3485, allocations: 0 / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.3493, allocations: 436.3 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.3493, allocations: 15.91 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.3494, allocations: 19.92 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3496, allocations: 19.98 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.3496, allocations: 23.95 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.3497, allocations: 27.97 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.708e-05/0.3498, allocations: 109.2 kB / 1.337 GB, free: 7.469 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3498, allocations: 0 / 1.337 GB, free: 7.469 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003686/0.3501, allocations: 63.92 kB / 1.337 GB, free: 7.406 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001297/0.3514, allocations: 0.9872 MB / 1.338 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007271/0.3522, allocations: 311.9 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3522, allocations: 4 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.3525, allocations: 111.9 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3528, allocations: 29.77 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.3564, allocations: 2.395 MB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3568, allocations: 0.7285 MB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.436e-05/0.3569, allocations: 17.95 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.357, allocations: 55.41 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/0.357, allocations: 4 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.3847, allocations: 4.852 MB / 1.346 GB, free: 13.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 16.86 kB / 1.346 GB, free: 13.9 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.761631586006843] Failed to read output from testmodel.py, exit status != 0: 12.09232667303877 12.117542202 11.775265601 Calling exit ...