Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 91.12 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.907/2.907, allocations: 437.8 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004648, allocations: 12 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8323, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.000843/0.8331, allocations: 394.2 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.8341, allocations: 0.8002 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.8342, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.8342, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.461e-05/0.8343, allocations: 7.938 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.8344, allocations: 11.97 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.8345, allocations: 19.92 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.8346, allocations: 4 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.8347, allocations: 8 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.8347, allocations: 11.92 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.8348, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.8348, allocations: 4 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.8348, allocations: 3.938 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.8348, allocations: 29.7 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.837e-05/0.8349, allocations: 11.97 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8349, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8349, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.8349, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 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.0004371/0.8354, allocations: 351.1 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8354, allocations: 12.56 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.8355, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.8356, allocations: 163.1 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.8356, allocations: 4 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.8356, allocations: 3.938 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.8358, allocations: 61.62 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8358, allocations: 0 / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.8359, allocations: 0 / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.8359, allocations: 3.984 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.836, allocations: 43.97 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.8364, allocations: 260.8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.8366, allocations: 42.56 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.8366, allocations: 28.91 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.8367, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.8367, allocations: 34.56 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.8367, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003536/0.8371, allocations: 101.6 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.8371, allocations: 51.41 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.8372, allocations: 97.84 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.8372, allocations: 25.7 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.8373, allocations: 92.2 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.8373, allocations: 7.906 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.8373, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8375, allocations: 314.8 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.8375, allocations: 23.98 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.8376, allocations: 19.98 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.8377, allocations: 23.98 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8377, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.8379, allocations: 85.61 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8379, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8379, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.838, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.8381, allocations: 11.98 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8381, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.8381, allocations: 7.984 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.8381, allocations: 11.97 kB / 1.025 GB, free: 12.69 MB / 0.7794 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 9.46e-05/0.8382, allocations: 109.8 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.8383, allocations: 3.953 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.8385, allocations: 80.78 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.8385, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8385, allocations: 7.875 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8385, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.8387, allocations: 165.6 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8387, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.8388, allocations: 8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.8388, allocations: 3.953 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.8388, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8388, allocations: 3.984 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8388, allocations: 4.031 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.8391, allocations: 167.5 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.8391, allocations: 81.09 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.8391, allocations: 7.984 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.8392, allocations: 8 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.8393, allocations: 7.984 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-06/0.8393, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.8393, allocations: 79.28 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.053e-06/0.8393, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002144/0.8395, allocations: 7.938 kB / 1.026 GB, free: 11.85 MB / 0.7794 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.0001376/0.8397, allocations: 105.2 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.8399, allocations: 47.95 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8399, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.84, allocations: 28.05 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.8403, allocations: 4 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.8406, allocations: 110.7 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.8409, allocations: 0.6809 MB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.8409, allocations: 4.062 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.841, allocations: 15.38 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.841, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.002527/0.8435, allocations: 350.5 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches