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.001686/0.001686, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002351/0.00235, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.688/1.688, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001459/0.001459, allocations: 72.25 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2393, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001952/0.2413, allocations: 0.6596 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008555/0.2422, allocations: 0.8088 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.2422, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.2423, allocations: 3.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.2423, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.2425, allocations: 11.92 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.317e-05/0.2426, allocations: 27.92 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.2427, allocations: 8 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.2427, allocations: 4 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.2428, allocations: 19.91 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2428, allocations: 4 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.2428, allocations: 3.938 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.2428, allocations: 0 / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.2428, allocations: 15.92 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.232e-05/0.2429, allocations: 15.97 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2429, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2429, allocations: 7.938 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2429, allocations: 0 / 0.7851 GB, free: 11.77 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.0004186/0.2434, allocations: 343.6 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2434, allocations: 12.03 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.2435, allocations: 30.75 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.2435, allocations: 0.9375 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2436, allocations: 168.4 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-06/0.2436, allocations: 384 / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2436, allocations: 4.375 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2438, allocations: 50.23 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2438, allocations: 3.938 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2438, allocations: 4 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2438, allocations: 0 / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.244, allocations: 43.89 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.2443, allocations: 248.9 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2445, allocations: 42.48 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.2446, allocations: 20.91 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2446, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2446, allocations: 30.56 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2446, allocations: 3.938 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.245, allocations: 85.64 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.245, allocations: 51.41 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.2451, allocations: 101.8 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2452, allocations: 25.7 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.2452, allocations: 84.14 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.2452, allocations: 7.891 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.2453, allocations: 17.84 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2454, allocations: 314.8 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.2455, allocations: 19.97 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.2456, allocations: 11.98 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.2457, allocations: 44.83 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2457, allocations: 3.938 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.2459, allocations: 65.66 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2459, allocations: 4 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2459, allocations: 0 / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.246, allocations: 0 / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.2461, allocations: 15.98 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2461, allocations: 0 / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.2461, allocations: 11.97 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2461, allocations: 3.984 kB / 0.7868 GB, free: 9.699 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 7.369e-05/0.2462, allocations: 109.8 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.2462, allocations: 4 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.2465, allocations: 76.66 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2465, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2465, allocations: 4.031 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2465, allocations: 0 / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2466, allocations: 173.4 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2467, allocations: 0 / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.2467, allocations: 4 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2467, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.2467, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2467, allocations: 7.984 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2467, allocations: 3.984 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.247, allocations: 167.4 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.247, allocations: 81.09 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.2471, allocations: 192 / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.2471, allocations: 4 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.2472, allocations: 7.969 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.2472, allocations: 4 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.2472, allocations: 83.31 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2472, allocations: 0 / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002073/0.2474, allocations: 8 kB / 0.7876 GB, free: 8.871 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.0005263/0.248, allocations: 0.6968 MB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.2482, allocations: 39.89 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2482, allocations: 0 / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.2483, allocations: 15.98 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.2485, allocations: 8 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.2489, allocations: 139.2 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.2492, allocations: 0.6768 MB / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.2492, allocations: 0 / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.2492, allocations: 11.38 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2493, allocations: 4 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.2658, allocations: 1.237 MB / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.888, allocations: 12.62 kB / 0.7903 GB, free: 6.012 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)