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.001295/0.001295, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001395/0.001395, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.765/2.765, allocations: 476.7 MB / 0.7678 GB, free: 9.539 MB / 0.6075 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.002135/0.002135, allocations: 67.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9171/0.9192, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002269/0.9215, allocations: 0.6272 MB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.9228, allocations: 0.8465 MB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.9229, allocations: 0 / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.9229, allocations: 0 / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.9229, allocations: 5.672 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.9232, allocations: 5.469 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.9232, allocations: 25.06 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.9233, allocations: 10.67 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.9234, allocations: 17.84 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.9235, allocations: 8.453 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.9235, allocations: 1.562 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.302e-05/0.9235, allocations: 4.484 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.9236, allocations: 4.641 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.9236, allocations: 11.42 kB / 1.281 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.9237, allocations: 25.89 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9237, allocations: 1.094 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9237, allocations: 0 / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.9237, allocations: 4 kB / 1.281 GB, free: 10.65 MB / 0.9981 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.000461/0.9242, allocations: 329.7 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.9242, allocations: 9.531 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.594e-05/0.9242, allocations: 4.797 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.9243, allocations: 31.88 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.9244, allocations: 10.73 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.9246, allocations: 166.8 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.9246, allocations: 9.438 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.9246, allocations: 384 / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.9247, allocations: 44.09 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.9248, allocations: 0 / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.9248, allocations: 0 / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9248, allocations: 0 / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.9249, allocations: 15.81 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.9251, allocations: 152.9 kB / 1.281 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.9252, allocations: 26.28 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.9252, allocations: 14.41 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.9252, allocations: 1.75 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.9253, allocations: 39.5 kB / 1.281 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.9253, allocations: 0 / 1.281 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002637/0.9256, allocations: 52.75 kB / 1.281 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.9256, allocations: 59.34 kB / 1.281 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.9257, allocations: 102.8 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.9257, allocations: 25.7 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.9258, allocations: 82.17 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.9258, allocations: 1.344 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.9259, allocations: 11.81 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.926, allocations: 317.7 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.678e-05/0.9261, allocations: 9.359 kB / 1.282 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.9261, allocations: 6.422 kB / 1.282 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/0.9262, allocations: 25.69 kB / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9262, allocations: 0 / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001474/0.9264, allocations: 47.27 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.9264, allocations: 8.812 kB / 1.282 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.9264, allocations: 1.125 kB / 1.282 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.9264, allocations: 5.047 kB / 1.282 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.9265, allocations: 4.797 kB / 1.282 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.9265, allocations: 4 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.9265, allocations: 6.844 kB / 1.282 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.9265, allocations: 5.828 kB / 1.282 GB, free: 8.996 MB / 0.9981 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 9.155e-05/0.9266, allocations: 110 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.9266, allocations: 5.25 kB / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.9267, allocations: 3.781 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9267, allocations: 6.062 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.9267, allocations: 3.938 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.9267, allocations: 0 / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.9268, allocations: 153.4 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.9268, allocations: 0.6562 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.9269, allocations: 4.484 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.9269, allocations: 8.625 kB / 1.282 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.9269, allocations: 0.6562 kB / 1.282 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.9269, allocations: 1.062 kB / 1.282 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9269, allocations: 0.75 kB / 1.282 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.927, allocations: 71.02 kB / 1.282 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.9271, allocations: 82.98 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.9271, allocations: 2.031 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.9271, allocations: 6.047 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.9272, allocations: 2.062 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.9272, allocations: 0.5625 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.9272, allocations: 84.31 kB / 1.283 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9272, allocations: 4.812 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001836/0.9274, allocations: 2.031 kB / 1.283 GB, free: 8.41 MB / 0.9981 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.0005393/0.928, allocations: 0.6122 MB / 1.283 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.9281, allocations: 23 kB / 1.283 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9281, allocations: 0 / 1.283 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.9282, allocations: 11.3 kB / 1.283 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.9283, allocations: 8.266 kB / 1.283 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.9287, allocations: 136.8 kB / 1.283 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.9291, allocations: 0.6796 MB / 1.284 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.9291, allocations: 4.125 kB / 1.284 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.9291, allocations: 9.938 kB / 1.284 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.9291, allocations: 0 / 1.284 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.9463, allocations: 1.166 MB / 1.285 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/9.583, allocations: 12.75 kB / 1.285 GB, free: 6.543 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.709847029997036] Failed to read output from testmodel.py, exit status != 0: 9.70938335597748 9.727659343000001 8.800848147 Calling exit ...