Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 292.3 MB / 0.5485 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 72.17 kB / 0.6711 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.205, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002352/0.2074, allocations: 0.7425 MB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2086, allocations: 0.8049 MB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.2086, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.2087, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.2088, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.209, allocations: 11.98 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.2091, allocations: 27.86 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2092, allocations: 12 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.2093, allocations: 8 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.2093, allocations: 7.922 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.2094, allocations: 4 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.2094, allocations: 0 / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.2094, allocations: 7.984 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.2094, allocations: 15.92 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.223e-05/0.2095, allocations: 15.97 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2095, allocations: 0 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2096, allocations: 0 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.2096, allocations: 0 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004673/0.21, allocations: 351.6 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2101, allocations: 12.03 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.2101, allocations: 30.75 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2102, allocations: 0.9375 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.2103, allocations: 164.4 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2103, allocations: 4.312 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.2103, allocations: 384 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.2105, allocations: 54.23 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2105, allocations: 3.938 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2105, allocations: 0 / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2106, allocations: 0 / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.2107, allocations: 35.95 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.211, allocations: 252.8 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.2112, allocations: 42.53 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.2113, allocations: 24.91 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.2113, allocations: 0 / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.2113, allocations: 30.56 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2113, allocations: 0 / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.2117, allocations: 89.58 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.2117, allocations: 51.41 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.2118, allocations: 105.8 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.2118, allocations: 25.7 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.2119, allocations: 84.14 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2119, allocations: 3.906 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.2119, allocations: 13.72 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.212, allocations: 319 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.2121, allocations: 15.97 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.2122, allocations: 15.98 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2124, allocations: 36.83 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2124, allocations: 3.938 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.2126, allocations: 77.66 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2126, allocations: 4 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2126, allocations: 0 / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2126, allocations: 0 / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.2127, allocations: 11.98 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2127, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.2128, allocations: 7.938 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.2128, allocations: 8.016 kB / 0.7864 GB, free: 10.02 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.359e-05/0.2129, allocations: 113.8 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.2129, allocations: 4 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.2131, allocations: 72.72 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2132, allocations: 0 / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2132, allocations: 0 / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2132, allocations: 4 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2133, allocations: 177.5 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2134, allocations: 0 / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.2134, allocations: 4 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2134, allocations: 3.938 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.2134, allocations: 0 / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2134, allocations: 4 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2135, allocations: 3.984 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.2137, allocations: 159.5 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.2137, allocations: 85.03 kB / 0.787 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2138, allocations: 4 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.2138, allocations: 4 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2139, allocations: 3.984 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-06/0.2139, allocations: 0 / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.2139, allocations: 79.28 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.214, allocations: 0 / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002121/0.2142, allocations: 8.031 kB / 0.7871 GB, free: 9.199 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0005245/0.2147, allocations: 0.6929 MB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.2149, allocations: 47.92 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2149, allocations: 0 / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.215, allocations: 15.98 kB / 0.7878 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.2153, allocations: 4 kB / 0.7878 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.2157, allocations: 139.2 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.216, allocations: 0.6807 MB / 0.7886 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.216, allocations: 0 / 0.7886 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.216, allocations: 11.44 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.216, allocations: 0 / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2665/0.4825, allocations: 1.103 MB / 0.7897 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.4829, allocations: 212.9 kB / 0.7899 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.282, allocations: 3.938 kB / 0.7899 GB, free: 6.258 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)