Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.001323/0.001323, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001497/0.001497, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.085/3.085, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.002021/0.002021, allocations: 63.31 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001845/0.3443, allocations: 0.6037 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3454, allocations: 0.8433 MB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.3454, allocations: 0 / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.3454, allocations: 4 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.3455, allocations: 3.938 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.3456, allocations: 11.94 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.678e-05/0.3457, allocations: 23.91 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.3457, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3459, allocations: 23.92 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.3459, allocations: 4 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3459, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.602e-05/0.3459, allocations: 4 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.346, allocations: 4 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.346, allocations: 15.91 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.666e-05/0.3461, allocations: 20.91 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3461, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3461, allocations: 3.938 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3461, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003828/0.3465, allocations: 254.4 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3465, allocations: 8.031 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.3465, allocations: 192 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.3465, allocations: 46.61 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3467, allocations: 8.938 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.3468, allocations: 110.5 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3468, allocations: 384 / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.3468, allocations: 384 / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3469, allocations: 46 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3469, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3469, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3469, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.347, allocations: 8 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.3472, allocations: 128.7 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.793e-05/0.3472, allocations: 30.5 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.3473, allocations: 12.92 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3473, allocations: 0 / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3473, allocations: 42.5 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.3473, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002165/0.3476, allocations: 57.61 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.3476, allocations: 51.41 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.3477, allocations: 105.8 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3477, allocations: 29.83 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.3478, allocations: 80.14 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3478, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3478, allocations: 17.72 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.348, allocations: 310.8 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.348, allocations: 7.984 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.348, allocations: 4 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.3481, allocations: 24.84 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3481, allocations: 64 / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.3482, allocations: 57.58 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3482, allocations: 14.06 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3482, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3482, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.3483, allocations: 7.984 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3483, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.3483, allocations: 4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3483, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.322e-05/0.3484, allocations: 109.9 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.3484, allocations: 3.938 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.3485, allocations: 11.14 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3485, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3485, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.3485, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3486, allocations: 128.6 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3486, allocations: 0 / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.3486, allocations: 7.984 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3486, allocations: 3.938 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.3486, allocations: 0 / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3486, allocations: 4 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3486, allocations: 3.984 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3488, allocations: 77.05 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.3488, allocations: 7.922 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.3488, allocations: 256 / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.3488, allocations: 4 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3488, allocations: 8 kB / 1.287 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3488, allocations: 0 / 1.287 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.3489, allocations: 83.27 kB / 1.287 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3489, allocations: 0 / 1.287 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000181/0.3491, allocations: 8.031 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0004505/0.3495, allocations: 0.6046 MB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.3496, allocations: 19.92 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3496, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.3497, allocations: 11.98 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.3498, allocations: 4.156 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.3502, allocations: 128.7 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.363e-05/0.3502, allocations: 63.28 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.3502, allocations: 8 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.3503, allocations: 7.438 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3503, allocations: 0 / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.3728, allocations: 1.271 MB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.02, allocations: 16.88 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.902931559015997] Failed to read output from testmodel.py, exit status != 0: 12.697003543027677 12.216549455000001 11.865483193 Calling exit ...