Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 105 kB / 16.35 MB, free: 5.875 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.001306/0.001306, allocations: 195.5 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.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.441/2.441, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 64.22 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2921, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001959/0.2941, allocations: 0.6169 MB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.295, allocations: 0.8079 MB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.2951, allocations: 0 / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.2951, allocations: 0 / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.2952, allocations: 11.92 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.2953, allocations: 11.98 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.252e-05/0.2954, allocations: 11.94 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.2955, allocations: 4 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.2956, allocations: 15.92 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.2956, allocations: 4 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2956, allocations: 0 / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.2957, allocations: 0 / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.2957, allocations: 11.97 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.2957, allocations: 7.938 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.291e-05/0.2958, allocations: 15.92 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2958, allocations: 4 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2958, allocations: 3.938 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2958, allocations: 0 / 1.02 GB, free: 8.281 MB / 0.795 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.0003732/0.2962, allocations: 331.4 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2962, allocations: 12.61 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.2963, allocations: 4.844 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2964, allocations: 164.4 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2964, allocations: 384 / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.2964, allocations: 4.375 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.2965, allocations: 38.25 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2965, allocations: 192 / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2966, allocations: 3.938 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.2966, allocations: 0 / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.2966, allocations: 11.98 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.2968, allocations: 153.7 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.2969, allocations: 34.55 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.2969, allocations: 12.91 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2969, allocations: 0 / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.297, allocations: 30.56 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.297, allocations: 0 / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000213/0.2972, allocations: 61.55 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.2972, allocations: 55.53 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.2973, allocations: 105.8 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2973, allocations: 25.7 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.2974, allocations: 80.14 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.2974, allocations: 7.906 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.2974, allocations: 17.7 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.2975, allocations: 310.8 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.2976, allocations: 4 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.2976, allocations: 15.98 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.2977, allocations: 20.78 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2977, allocations: 4 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001114/0.2978, allocations: 49.62 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2978, allocations: 4 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2978, allocations: 3.938 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2979, allocations: 4.094 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.2979, allocations: 7.984 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2979, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.298, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.298, allocations: 4.25 kB / 1.022 GB, free: 6.504 MB / 0.795 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.583e-05/0.2981, allocations: 105.8 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.2981, allocations: 0 / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.2981, allocations: 15.06 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2981, allocations: 4 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2981, allocations: 4 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2981, allocations: 0 / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.2982, allocations: 153.7 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2982, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.2983, allocations: 4 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2983, allocations: 0 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2983, allocations: 7.938 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2983, allocations: 3.984 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2983, allocations: 0 / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.2984, allocations: 77.05 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.2985, allocations: 89 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2985, allocations: 3.938 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.2985, allocations: 0 / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.2986, allocations: 0 / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2986, allocations: 4 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.2986, allocations: 83.27 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2986, allocations: 0 / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001791/0.2988, allocations: 8.031 kB / 1.022 GB, free: 5.855 MB / 0.795 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.0001185/0.2989, allocations: 99.25 kB / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.2991, allocations: 11.98 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2991, allocations: 3.938 kB / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.2991, allocations: 19.92 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2993, allocations: 3.938 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.2995, allocations: 114.8 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2998, allocations: 0.6729 MB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.2998, allocations: 0 / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.2998, allocations: 7.438 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2998, allocations: 0 / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of Templates: time 0.001957/0.3018, allocations: 280.8 kB / 1.024 GB, free: 4.598 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches