Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 104.5 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.001174/0.001174, allocations: 191.8 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.48 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2943, allocations: 140.4 MB / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002014/0.2964, allocations: 0.653 MB / 0.9518 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.2973, allocations: 0.8215 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.2973, allocations: 0 / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.2973, allocations: 0 / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.2974, allocations: 7.938 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.2976, allocations: 15.98 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.2976, allocations: 23.92 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.2977, allocations: 7.984 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.2978, allocations: 8 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.065e-05/0.2978, allocations: 11.92 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.2979, allocations: 4 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.2979, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.2979, allocations: 4 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.2979, allocations: 11.94 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.526e-05/0.298, allocations: 23.89 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.298, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.298, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.298, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 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.0004237/0.2985, allocations: 340.5 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2985, allocations: 8.031 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.2985, allocations: 4.922 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2987, allocations: 172.2 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2987, allocations: 4.375 kB / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.2987, allocations: 4.375 kB / 0.9532 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2989, allocations: 50.17 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.2989, allocations: 192 / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2989, allocations: 7.938 kB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2989, allocations: 3.984 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.2991, allocations: 31.97 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.2994, allocations: 249 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2995, allocations: 42.44 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-05/0.2996, allocations: 20.91 kB / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.2996, allocations: 3.984 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2997, allocations: 38.5 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2997, allocations: 0 / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003308/0.3, allocations: 77.66 kB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3, allocations: 55.39 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.3001, allocations: 101.8 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3001, allocations: 29.64 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.3002, allocations: 88.27 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3002, allocations: 3.906 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.3002, allocations: 17.7 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3003, allocations: 314.8 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.3004, allocations: 15.98 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.3005, allocations: 11.98 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3006, allocations: 44.88 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3007, allocations: 0 / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.3008, allocations: 65.61 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3009, allocations: 7.984 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3009, allocations: 0 / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3009, allocations: 0 / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.301, allocations: 15.94 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.301, allocations: 4.031 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.301, allocations: 7.984 kB / 0.9545 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.301, allocations: 0 / 0.9545 GB, free: 4.363 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.3011, allocations: 113.8 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.3011, allocations: 3.906 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.3014, allocations: 72.77 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3014, allocations: 4.031 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3014, allocations: 4 kB / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3014, allocations: 0 / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.3015, allocations: 157.6 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3015, allocations: 0 / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.3016, allocations: 7.984 kB / 0.9548 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3016, allocations: 3.938 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3016, allocations: 4 kB / 0.9548 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3016, allocations: 4 kB / 0.9548 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3016, allocations: 0 / 0.9548 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.3019, allocations: 167.5 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.3019, allocations: 77.11 kB / 0.955 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.3019, allocations: 0 / 0.955 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.302, allocations: 7.984 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.3021, allocations: 0 / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/0.3021, allocations: 4.031 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.834e-05/0.3021, allocations: 87.2 kB / 0.9551 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3021, allocations: 3.938 kB / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000216/0.3023, allocations: 8 kB / 0.9552 GB, free: 3.547 MB / 0.7325 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 (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.0001426/0.3025, allocations: 99.25 kB / 0.9552 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3027, allocations: 35.91 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3027, allocations: 4.062 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.3028, allocations: 19.97 kB / 0.9553 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.3031, allocations: 15.88 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.3034, allocations: 101.5 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.3037, allocations: 0.6766 MB / 0.9561 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.3037, allocations: 3.984 kB / 0.9561 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.3037, allocations: 11.5 kB / 0.9561 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.3037, allocations: 0 / 0.9561 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of Templates: time 0.002351/0.3061, allocations: 444.5 kB / 0.9565 GB, free: 2.098 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches