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.001584/0.001584, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001839/0.001839, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 2.828/2.828, allocations: 476.7 MB / 0.7715 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] 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.002699/0.002699, allocations: 64 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3342, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002044/0.3362, allocations: 0.6172 MB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3376, allocations: 0.8511 MB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.3377, allocations: 0 / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.3377, allocations: 7.938 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.3378, allocations: 0 / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.338, allocations: 15.92 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.338, allocations: 19.86 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.3381, allocations: 4 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.3382, allocations: 19.98 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.3383, allocations: 3.938 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3383, allocations: 4 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.3383, allocations: 8 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.3383, allocations: 3.984 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.3384, allocations: 11.98 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.131e-05/0.3384, allocations: 19.44 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3384, allocations: 3.938 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3384, allocations: 0 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3385, allocations: 0 / 1.286 GB, free: 10.14 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.000384/0.3388, allocations: 250.4 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3389, allocations: 12.03 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.36e-05/0.3389, allocations: 192 / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.3389, allocations: 38.73 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.3391, allocations: 8.938 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3392, allocations: 114.5 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3392, allocations: 4.375 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.3392, allocations: 384 / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3393, allocations: 38 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3393, allocations: 0 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.3393, allocations: 3.938 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.3393, allocations: 3.938 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/0.3394, allocations: 19.94 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.3396, allocations: 124.8 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.3396, allocations: 22.59 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.3397, allocations: 12.92 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3397, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3397, allocations: 46.48 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3397, allocations: 0 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000219/0.3399, allocations: 49.62 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.34, allocations: 51.41 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.3401, allocations: 105.8 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3401, allocations: 25.7 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.3401, allocations: 84.14 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.3402, allocations: 4.062 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.3402, allocations: 17.72 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002401/0.3404, allocations: 318.8 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.3405, allocations: 4 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.3405, allocations: 7.984 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.3407, allocations: 16.86 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3407, allocations: 0 / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001292/0.3409, allocations: 61.88 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3409, allocations: 10.12 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3409, allocations: 0 / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3409, allocations: 0 / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.341, allocations: 8 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.341, allocations: 0 / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.341, allocations: 0 / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.341, allocations: 7.984 kB / 1.287 GB, free: 8.504 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 0.0001009/0.3411, allocations: 113.9 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.3411, allocations: 3.938 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.3411, allocations: 7.141 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3411, allocations: 4 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3411, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3411, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3413, allocations: 124.8 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3413, allocations: 3.938 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.3413, allocations: 7.984 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3413, allocations: 3.938 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3413, allocations: 4 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3413, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3413, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3415, allocations: 73 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.3415, allocations: 11.89 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3415, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.3416, allocations: 3.984 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.3416, allocations: 4.031 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.3416, allocations: 4 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.3416, allocations: 83.28 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3416, allocations: 0 / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001889/0.3418, allocations: 0 / 1.288 GB, free: 7.992 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.0007778/0.3426, allocations: 0.6085 MB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.3427, allocations: 19.98 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3427, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.3428, allocations: 7.984 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.3429, allocations: 5.547 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.3433, allocations: 132.8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3436, allocations: 0.6806 MB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.3436, allocations: 0 / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.3437, allocations: 11.44 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3437, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.3649, allocations: 1.245 MB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.9, allocations: 8.719 kB / 1.29 GB, free: 5.328 MB / 0.9825 GB " [Timeout remaining time 287] (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.541297294024844] Failed to read output from testmodel.py, exit status != 0: 12.575085518008564 12.082644618 11.740349772 Calling exit ...