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.52/1.52, allocations: 252 MB / 267.3 MB, free: 10.85 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.001013/0.001013, allocations: 171.7 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0008871/0.000887, allocations: 80.09 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004058, allocations: 15.69 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001626/0.2504, allocations: 1.094 MB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003683/0.2508, allocations: 120.5 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.2509, allocations: 4 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.2509, allocations: 3.984 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.2511, allocations: 3.938 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.2513, allocations: 11.98 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.2513, allocations: 19.98 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2515, allocations: 4 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.2515, allocations: 11.88 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.2516, allocations: 7.984 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2516, allocations: 0 / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-06/0.2516, allocations: 0 / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.2517, allocations: 11.94 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.2517, allocations: 29.69 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.614e-05/0.2518, allocations: 23.89 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2518, allocations: 4 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.494e-06/0.2518, allocations: 0 / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2518, allocations: 0 / 0.9023 GB, free: 62.03 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.0004186/0.2522, allocations: 334.2 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.2523, allocations: 12.03 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.2524, allocations: 34.75 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.2524, allocations: 0.9375 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.2525, allocations: 172.6 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2525, allocations: 4.375 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2525, allocations: 4.359 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2527, allocations: 50.25 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2527, allocations: 11.86 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2527, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2527, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.2529, allocations: 43.97 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.2532, allocations: 252.8 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.2534, allocations: 54.53 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.2535, allocations: 28.91 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2535, allocations: 4 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2535, allocations: 34.5 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2535, allocations: 4 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.2539, allocations: 93.64 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.2539, allocations: 55.53 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.254, allocations: 101.8 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.254, allocations: 25.7 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.2541, allocations: 84.14 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2541, allocations: 3.906 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.2541, allocations: 0 / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.2541, allocations: 314.8 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.2542, allocations: 27.97 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.2543, allocations: 23.92 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.2545, allocations: 48.89 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2545, allocations: 3.938 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.2547, allocations: 77.66 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2547, allocations: 4 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2547, allocations: 4.031 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2547, allocations: 4 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.2548, allocations: 11.98 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2548, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.2549, allocations: 7.984 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.2549, allocations: 4 kB / 0.9041 GB, free: 59.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.255, allocations: 117.7 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.255, allocations: 3.906 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.2552, allocations: 80.78 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2552, allocations: 0 / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2553, allocations: 0 / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2553, allocations: 4.031 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.2554, allocations: 165.6 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2554, allocations: 4 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.2555, allocations: 8 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2555, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2555, allocations: 3.938 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2555, allocations: 3.984 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2555, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.2557, allocations: 179.4 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.2557, allocations: 81.09 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2558, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.2558, allocations: 15.97 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.2559, allocations: 3.984 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.2559, allocations: 192 / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.902e-05/0.2559, allocations: 87.27 kB / 0.9048 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2559, allocations: 0 / 0.9048 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002016/0.2561, allocations: 4 kB / 0.9048 GB, free: 59.05 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 (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.0005067/0.2566, allocations: 0.7123 MB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.2569, allocations: 51.98 kB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2569, allocations: 0 / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.257, allocations: 19.98 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.2573, allocations: 4 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.2577, allocations: 138.5 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.2579, allocations: 0.677 MB / 0.9064 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.2579, allocations: 4 kB / 0.9064 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.258, allocations: 11.38 kB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.258, allocations: 0 / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.2685, allocations: 1.019 MB / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2687, allocations: 208.4 kB / 0.9076 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.897, allocations: 0 / 0.9076 GB, free: 56.22 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)