Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001634/0.001634, allocations: 116.8 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.002015/0.002015, allocations: 209.6 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.988/2.988, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_12_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_12_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.002029/0.002029, allocations: 75.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9874/0.9894, allocations: 176.1 MB / 1.322 GB, free: 24.81 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001679/0.9911, allocations: 0.6194 MB / 1.322 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007/0.9918, allocations: 0.8457 MB / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.9918, allocations: 0 / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.9918, allocations: 6.688 kB / 1.323 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.9919, allocations: 7.266 kB / 1.323 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.992, allocations: 10.56 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.9921, allocations: 23.28 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.9921, allocations: 8 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.9923, allocations: 19.95 kB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.9923, allocations: 6.469 kB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.9923, allocations: 0 / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-05/0.9924, allocations: 13.08 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.9924, allocations: 0 / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.9924, allocations: 6.531 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.207e-05/0.9925, allocations: 21.58 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9925, allocations: 0 / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9925, allocations: 0 / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.9925, allocations: 4 kB / 1.323 GB, free: 23.72 MB / 1.061 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.0003471/0.9929, allocations: 332.9 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.9929, allocations: 22.25 kB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.364e-05/0.9929, allocations: 192 / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.89e-05/0.9929, allocations: 30.75 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.9931, allocations: 9.922 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.9932, allocations: 167 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.9932, allocations: 384 / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.9932, allocations: 8.312 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.9933, allocations: 42.94 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.9933, allocations: 0 / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.9933, allocations: 3.938 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.9933, allocations: 2.562 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/0.9934, allocations: 10.95 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.9935, allocations: 159.1 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.9936, allocations: 28.48 kB / 1.324 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.9936, allocations: 10.61 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.9936, allocations: 6.922 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.9936, allocations: 34.5 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.9936, allocations: 0 / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000199/0.9938, allocations: 54.36 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.9939, allocations: 58.12 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.9939, allocations: 106.4 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.9939, allocations: 25.7 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.966e-05/0.9939, allocations: 83.27 kB / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.994, allocations: 0 / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.994, allocations: 13.72 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.994, allocations: 317.1 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.9941, allocations: 6.812 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.9941, allocations: 13.56 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.453e-05/0.9942, allocations: 16.2 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9942, allocations: 0 / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.423e-05/0.9943, allocations: 54.78 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.9943, allocations: 11.44 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.9943, allocations: 0 / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9943, allocations: 4.094 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.9944, allocations: 6.266 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.9944, allocations: 0 / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.9944, allocations: 2.969 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.9944, allocations: 0 / 1.325 GB, free: 22.05 MB / 1.061 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 4.244e-05/0.9945, allocations: 105.8 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.9945, allocations: 6.781 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.753e-05/0.9945, allocations: 10.27 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.9945, allocations: 3.938 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9945, allocations: 6.781 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.9945, allocations: 0 / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.711e-05/0.9945, allocations: 148 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.9945, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.9946, allocations: 6.219 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9946, allocations: 3.938 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.9946, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.9946, allocations: 0 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9946, allocations: 2.875 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.9947, allocations: 84.5 kB / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.9947, allocations: 85 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.9947, allocations: 0 / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.734e-05/0.9948, allocations: 2.594 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.9948, allocations: 3.188 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.9948, allocations: 256 / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.9948, allocations: 84.41 kB / 1.325 GB, free: 21.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9948, allocations: 32 / 1.325 GB, free: 21.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001775/0.995, allocations: 6.625 kB / 1.325 GB, free: 21.46 MB / 1.061 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.000317/0.9953, allocations: 0.6115 MB / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.9955, allocations: 21.42 kB / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9955, allocations: 0 / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.9955, allocations: 9.125 kB / 1.326 GB, free: 20.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.9956, allocations: 1.891 kB / 1.326 GB, free: 20.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.996, allocations: 142.6 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.9961, allocations: 0.6716 MB / 1.327 GB, free: 20.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.9962, allocations: 128 / 1.327 GB, free: 20.01 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.9962, allocations: 17.5 kB / 1.327 GB, free: 20 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.9962, allocations: 0 / 1.327 GB, free: 20 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/1.013, allocations: 1.165 MB / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/9.46, allocations: 8.641 kB / 1.328 GB, free: 19.62 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.920971933985129] Failed to read output from testmodel.py, exit status != 0: 9.58783106901683 9.609038675 8.612782297 Calling exit ...