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.00164/0.00164, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002075/0.002075, allocations: 209.1 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.336/3.336, allocations: 0.49 GB / 0.7959 GB, free: 33.34 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.002042/0.002042, allocations: 67.11 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3621, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001794/0.3639, allocations: 0.6221 MB / 1.327 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.365, allocations: 0.8592 MB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.365, allocations: 0 / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.365, allocations: 0 / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.3651, allocations: 3.938 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3653, allocations: 15.98 kB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.3653, allocations: 23.86 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.3654, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3655, allocations: 19.92 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.3656, allocations: 7.984 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3656, allocations: 7.938 kB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.293e-05/0.3656, allocations: 8 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.3657, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.3657, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3658, allocations: 28.12 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3658, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3658, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.3658, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 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.0004213/0.3662, allocations: 254.4 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3663, allocations: 12.03 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.647e-05/0.3663, allocations: 192 / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.3663, allocations: 30.75 kB / 1.329 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.3665, allocations: 12.92 kB / 1.329 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3666, allocations: 122.4 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3666, allocations: 384 / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3666, allocations: 384 / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3668, allocations: 38 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3668, allocations: 4 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3668, allocations: 4 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3668, allocations: 0 / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.3669, allocations: 15.92 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.3671, allocations: 128.7 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.3672, allocations: 34.53 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.3673, allocations: 8.922 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3673, allocations: 4 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.3673, allocations: 34.5 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3673, allocations: 0 / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002541/0.3676, allocations: 53.67 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3676, allocations: 51.41 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3677, allocations: 109.8 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.91e-05/0.3678, allocations: 25.83 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.3679, allocations: 88.14 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.3679, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.368, allocations: 13.72 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3681, allocations: 310.8 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.3682, allocations: 11.98 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.3682, allocations: 4 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.732e-05/0.3683, allocations: 28.91 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3683, allocations: 0 / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001178/0.3684, allocations: 45.64 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.3685, allocations: 9.812 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3685, allocations: 0 / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3685, allocations: 7.922 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.3686, allocations: 4 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3686, allocations: 0 / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.3686, allocations: 4 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3686, allocations: 4.031 kB / 1.33 GB, free: 14.75 MB / 1.029 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.0001031/0.3687, allocations: 110.4 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.3687, allocations: 7.922 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.3688, allocations: 7.156 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3688, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3688, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3688, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3689, allocations: 128.7 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3689, allocations: 0 / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.369, allocations: 8 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.369, allocations: 7.875 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.369, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.369, allocations: 4.234 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.369, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.3691, allocations: 73.05 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.3691, allocations: 15.89 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3692, allocations: 7.969 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.3692, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3692, allocations: 7.984 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3692, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.3693, allocations: 83.28 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3693, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001899/0.3695, allocations: 0 / 1.33 GB, free: 14.22 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: 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.0005082/0.37, allocations: 0.6085 MB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.3701, allocations: 19.92 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3701, allocations: 0 / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.3702, allocations: 8 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.3703, allocations: 8.141 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.3708, allocations: 128.7 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3711, allocations: 0.6729 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.3711, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.3712, allocations: 19.42 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3712, allocations: 0 / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.3922, allocations: 1.243 MB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.52, allocations: 5.953 kB / 1.333 GB, free: 11.56 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.47474473400507] Failed to read output from testmodel.py, exit status != 0: 11.686584975046571 11.711956444 11.341610952 Calling exit ...