Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 173.2 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009334/0.0009335, allocations: 90.38 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 14.47 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2149, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002343/0.2174, allocations: 1.089 MB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004537/0.2179, allocations: 110 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.2179, allocations: 0 / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.218, allocations: 3.938 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2181, allocations: 11.98 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2183, allocations: 4 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.027e-05/0.2184, allocations: 11.98 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2186, allocations: 7.984 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.2187, allocations: 11.92 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.2187, allocations: 8 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.2188, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.2188, allocations: 3.938 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.2188, allocations: 4 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.2189, allocations: 29.7 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.696e-05/0.219, allocations: 15.95 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.219, allocations: 3.938 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.035e-06/0.219, allocations: 3.938 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.219, allocations: 0 / 0.9015 GB, free: 62.5 MB / 0.6042 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.0004648/0.2195, allocations: 335.4 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.2196, allocations: 8.031 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.2196, allocations: 34.56 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.2196, allocations: 8 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2198, allocations: 167.2 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2198, allocations: 0 / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2198, allocations: 8 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.2201, allocations: 49.67 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2201, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2201, allocations: 4 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2201, allocations: 4 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.2204, allocations: 47.89 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.2208, allocations: 252.9 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.221, allocations: 42.56 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.2211, allocations: 3.984 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2211, allocations: 34.62 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/0.2211, allocations: 0 / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005573/0.2217, allocations: 93.59 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.2217, allocations: 59.39 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.2218, allocations: 93.98 kB / 0.9026 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2219, allocations: 33.7 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.2219, allocations: 84.14 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.2219, allocations: 3.906 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.222, allocations: 0 / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.222, allocations: 318.8 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2222, allocations: 23.98 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.2223, allocations: 19.98 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.2225, allocations: 23.98 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2225, allocations: 0 / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000319/0.2228, allocations: 85.59 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2229, allocations: 4 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2229, allocations: 4 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2229, allocations: 0 / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2231, allocations: 11.98 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2231, allocations: 0 / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.2232, allocations: 12.02 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2232, allocations: 4 kB / 0.9032 GB, free: 60.44 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/0.2233, allocations: 113.8 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.2234, allocations: 3.906 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.2237, allocations: 84.72 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2238, allocations: 3.938 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2238, allocations: 0 / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2238, allocations: 4 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.224, allocations: 161.6 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.224, allocations: 0 / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.2241, allocations: 11.98 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2241, allocations: 4.031 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2242, allocations: 192 / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2242, allocations: 0 / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2242, allocations: 0 / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.2245, allocations: 183.5 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.2246, allocations: 77.11 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2246, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2247, allocations: 11.98 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.2248, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2248, allocations: 7.938 kB / 0.9039 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.2249, allocations: 83.28 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2249, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004122/0.2253, allocations: 8.031 kB / 0.904 GB, free: 59.6 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006137/0.2259, allocations: 0.7046 MB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.2263, allocations: 51.95 kB / 0.9047 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2263, allocations: 0 / 0.9047 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.2265, allocations: 32.02 kB / 0.9047 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.2268, allocations: 0 / 0.9047 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.2274, allocations: 146.1 kB / 0.9049 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.2275, allocations: 0.6809 MB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.2276, allocations: 8.047 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.2276, allocations: 7.438 kB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2277, allocations: 0 / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.2421, allocations: 1.005 MB / 0.9065 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.2424, allocations: 186 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.747, allocations: 0 / 0.9067 GB, free: 56.79 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)