Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Sources.Validation.Ramp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",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.001474/0.001475, allocations: 105.4 kB / 15.7 MB, free: 24 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.001763/0.001763, allocations: 190 kB / 16.64 MB, free: 6.594 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.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.693/1.693, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.002454/0.002454, allocations: 75.44 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2466, allocations: 114.5 MB / 0.7837 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001793/0.2484, allocations: 0.6114 MB / 0.7843 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.2492, allocations: 0.7893 MB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.2493, allocations: 0 / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.2493, allocations: 0 / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.2494, allocations: 7.875 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.055e-05/0.2494, allocations: 4 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.2495, allocations: 15.98 kB / 0.7851 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.2495, allocations: 8 kB / 0.7851 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.2496, allocations: 4 kB / 0.7851 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.984e-05/0.2497, allocations: 19.86 kB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2497, allocations: 3.938 kB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.2497, allocations: 4 kB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.2497, allocations: 3.984 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.2497, allocations: 0 / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.462e-05/0.2498, allocations: 19.91 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2498, allocations: 0 / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2498, allocations: 0 / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.2499, allocations: 4 kB / 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004252/0.2503, allocations: 335.7 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2503, allocations: 8.031 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.2504, allocations: 34.75 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.2504, allocations: 0.9375 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2505, allocations: 160.4 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2505, allocations: 384 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.2505, allocations: 384 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2507, allocations: 54.23 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2507, allocations: 3.938 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2507, allocations: 0 / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2507, allocations: 0 / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.2509, allocations: 31.91 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.251, allocations: 153.7 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.2511, allocations: 34.56 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.2512, allocations: 16.91 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2512, allocations: 0 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.2513, allocations: 38.56 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.2513, allocations: 0 / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003001/0.2516, allocations: 85.42 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.2516, allocations: 51.41 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.2517, allocations: 105.8 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2517, allocations: 25.7 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.2518, allocations: 84.12 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.2518, allocations: 3.938 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.2518, allocations: 13.72 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2519, allocations: 319 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.252, allocations: 11.98 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.2521, allocations: 11.98 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.2522, allocations: 40.75 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2522, allocations: 0 / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000169/0.2524, allocations: 61.73 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2524, allocations: 7.938 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2524, allocations: 4 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2525, allocations: 3.938 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.2525, allocations: 7.984 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2526, allocations: 0 / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.2526, allocations: 7.984 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.2526, allocations: 0 / 0.7868 GB, free: 9.852 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 (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 6.51e-05/0.2527, allocations: 109.9 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.2527, allocations: 7.938 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.2527, allocations: 7.125 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2527, allocations: 0 / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2527, allocations: 0 / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2527, allocations: 4 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.318e-05/0.2528, allocations: 153.7 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2528, allocations: 0 / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.2529, allocations: 4 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2529, allocations: 7.938 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2529, allocations: 4 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2529, allocations: 7.938 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2529, allocations: 0 / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.2531, allocations: 85 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.2532, allocations: 77.11 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2532, allocations: 11.95 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.2532, allocations: 4 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.2533, allocations: 0 / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.2533, allocations: 0 / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.2533, allocations: 87.27 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.373e-06/0.2533, allocations: 0 / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001701/0.2535, allocations: 7.938 kB / 0.7873 GB, free: 9.184 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 (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.0004764/0.254, allocations: 0.6241 MB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.2542, allocations: 27.97 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2542, allocations: 4.094 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.2543, allocations: 23.97 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.2545, allocations: 7.938 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.2549, allocations: 131.1 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2552, allocations: 0.669 MB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.2552, allocations: 4 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.2552, allocations: 7.438 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2552, allocations: 4.062 kB / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.2719, allocations: 1.221 MB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.9, allocations: 4.094 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1)