Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sine,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.001469/0.001469, 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.001761/0.001761, allocations: 195.4 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.423/1.423, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.759/1.759, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00143/0.00143, allocations: 72.27 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2354, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002148/0.2376, allocations: 0.6069 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2387, allocations: 0.8087 MB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.2388, allocations: 0 / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.2388, allocations: 8 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.2389, allocations: 3.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.2391, allocations: 0 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.2391, allocations: 27.86 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.2392, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.2393, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.2394, allocations: 11.97 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.2394, allocations: 4 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.2395, allocations: 7.875 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.2395, allocations: 4 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.2395, allocations: 4 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.054e-05/0.2396, allocations: 19.91 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2396, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2396, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2396, allocations: 0 / 0.785 GB, free: 11.84 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.0004459/0.2401, allocations: 335.6 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2402, allocations: 12.03 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.2402, allocations: 30.75 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.2402, allocations: 4.938 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2404, allocations: 168.3 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2404, allocations: 4.359 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.2404, allocations: 4.375 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.2406, allocations: 34.25 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2406, allocations: 3.938 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2406, allocations: 0 / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2406, allocations: 0 / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.2407, allocations: 15.94 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.2409, allocations: 161.7 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.241, allocations: 18.61 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.241, allocations: 12.92 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.241, allocations: 7.984 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.2411, allocations: 30.56 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2411, allocations: 3.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002022/0.2413, allocations: 61.56 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2413, allocations: 51.41 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.2414, allocations: 105.8 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.2414, allocations: 29.7 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.2415, allocations: 80.14 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.2415, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.2415, allocations: 9.719 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2416, allocations: 327 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/0.2417, allocations: 4 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.2417, allocations: 7.984 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.2418, allocations: 16.86 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2418, allocations: 0 / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001108/0.2419, allocations: 57.61 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2419, allocations: 15.94 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.242, allocations: 0 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.242, allocations: 0 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.2421, allocations: 4 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2421, allocations: 0 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.2421, allocations: 0 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2421, allocations: 3.984 kB / 0.7865 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 (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 7.032e-05/0.2422, allocations: 112.7 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.2422, allocations: 7.938 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.2422, allocations: 3.125 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2422, allocations: 0 / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2422, allocations: 7.938 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.2423, allocations: 0 / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2424, allocations: 153.7 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2424, allocations: 0 / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.2424, allocations: 7.984 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2424, allocations: 3.938 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-06/0.2425, allocations: 0 / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2425, allocations: 4 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2425, allocations: 4 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2426, allocations: 69.06 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.2426, allocations: 81.05 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2427, allocations: 7.922 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/0.2427, allocations: 4 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.2427, allocations: 0 / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2427, allocations: 4.281 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.2428, allocations: 87.28 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2428, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001779/0.243, allocations: 4 kB / 0.7871 GB, free: 9.367 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.0004236/0.2434, allocations: 0.6227 MB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.2435, allocations: 15.98 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2435, allocations: 0 / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.2436, allocations: 7.984 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.2437, allocations: 4 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.2442, allocations: 144.3 kB / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.2444, allocations: 0.6768 MB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.2445, allocations: 4 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.2445, allocations: 7.438 kB / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2445, allocations: 0 / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.2654, allocations: 1.093 MB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.739, allocations: 6.25 kB / 0.7896 GB, free: 6.781 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)