Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001266/0.001265, allocations: 177.3 kB / 15.94 MB, free: 228 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.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 436.5 MB / 0.7104 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.000406, allocations: 8 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8329, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001755/0.8347, allocations: 1.129 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004078/0.8351, allocations: 195.6 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.8352, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.8352, allocations: 3.828 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.8354, allocations: 15.92 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.843e-05/0.8355, allocations: 11.98 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.8356, allocations: 35.95 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.8357, allocations: 7.984 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.8358, allocations: 19.92 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.8358, allocations: 15.92 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.8359, allocations: 4 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.8359, allocations: 0 / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.8359, allocations: 15.86 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.8359, allocations: 29.7 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.56e-05/0.836, allocations: 31.92 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.836, allocations: 4 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.836, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.836, allocations: 0 / 1.022 GB, free: 15.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004924/0.8365, allocations: 369.1 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.8366, allocations: 11.98 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.8366, allocations: 4 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.8368, allocations: 178.9 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.8368, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.8368, allocations: 11.98 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.837, allocations: 69.56 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.8371, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.8371, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8371, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.8373, allocations: 51.95 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.8377, allocations: 292.8 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.838, allocations: 70.61 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.838, allocations: 4.078 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.8381, allocations: 30.56 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.8381, allocations: 0 / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003903/0.8385, allocations: 117.6 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.8385, allocations: 55.41 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.8386, allocations: 109.8 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.8386, allocations: 29.7 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.8387, allocations: 96.02 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.8387, allocations: 11.81 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.8387, allocations: 384 / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8389, allocations: 322.8 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.839, allocations: 27.97 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.8391, allocations: 31.98 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.8392, allocations: 35.91 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8392, allocations: 3.953 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002369/0.8394, allocations: 97.61 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.8395, allocations: 11.98 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8395, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.8395, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.8396, allocations: 12 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.8396, allocations: 3.984 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.8397, allocations: 12 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.8397, allocations: 4 kB / 1.024 GB, free: 13.36 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 (5): * Single equations (assignments): 5 * 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 8.052e-05/0.8398, allocations: 105.8 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.8398, allocations: 11.86 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.8401, allocations: 105.5 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.8401, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8401, allocations: 3.938 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8401, allocations: 3.984 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.8403, allocations: 173.6 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8403, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.8404, allocations: 16.12 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8404, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8404, allocations: 8 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8404, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.8404, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.8408, allocations: 227.6 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.8409, allocations: 77.11 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.8409, allocations: 7.984 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.841, allocations: 8.031 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.8411, allocations: 7.984 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.8411, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.8411, allocations: 91.27 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8411, allocations: 4.062 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002197/0.8413, allocations: 4 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0001243/0.8415, allocations: 101 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.8417, allocations: 68.23 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8417, allocations: 0 / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.8418, allocations: 35.91 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.842, allocations: 8.5 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.8424, allocations: 174.7 kB / 1.025 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.8427, allocations: 0.6926 MB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.8427, allocations: 4 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.8427, allocations: 7.438 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8428, allocations: 0 / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of Templates: time 0.002454/0.8452, allocations: 0.5096 MB / 1.027 GB, free: 10.75 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches