Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 107.5 kB / 16.37 MB, free: 6.477 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.001644/0.001644, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.18 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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.62 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.002181/0.2902, allocations: 0.6867 MB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.291, allocations: 0.7866 MB / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.291, allocations: 0 / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2911, allocations: 0 / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.2912, allocations: 11.92 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.384e-05/0.2912, allocations: 0 / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.2913, allocations: 19.98 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2914, allocations: 12 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.2915, allocations: 15.86 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.2915, allocations: 4 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2915, allocations: 4 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-06/0.2915, allocations: 0 / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.2916, allocations: 19.91 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.2916, allocations: 0 / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.524e-05/0.2917, allocations: 23.91 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2917, allocations: 0 / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2917, allocations: 4 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2917, allocations: 0 / 0.9527 GB, free: 6.453 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.0004286/0.2921, allocations: 339.4 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2922, allocations: 8.031 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.2922, allocations: 0.9375 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2923, allocations: 172.3 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2924, allocations: 4.375 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.2924, allocations: 384 / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2925, allocations: 54.23 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2926, allocations: 192 / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.2926, allocations: 3.938 kB / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.2926, allocations: 0 / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.2927, allocations: 43.78 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.2931, allocations: 253 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.2933, allocations: 38.5 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.2933, allocations: 20.91 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.2934, allocations: 3.984 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.2934, allocations: 34.5 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2934, allocations: 0 / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003096/0.2937, allocations: 77.64 kB / 0.9537 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.2937, allocations: 51.41 kB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.2938, allocations: 101.8 kB / 0.9538 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2939, allocations: 29.7 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.2939, allocations: 80.14 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.2939, allocations: 3.906 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.294, allocations: 17.84 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2941, allocations: 314.8 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.706e-05/0.2942, allocations: 15.97 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.2942, allocations: 19.92 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.2943, allocations: 28.83 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2944, allocations: 8 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001577/0.2945, allocations: 61.66 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2945, allocations: 4 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2946, allocations: 0 / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2946, allocations: 4 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2947, allocations: 19.97 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2947, allocations: 3.984 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.2948, allocations: 12.02 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.2948, allocations: 0 / 0.9544 GB, free: 4.434 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 (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.287e-05/0.2949, allocations: 119.8 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.2949, allocations: 0 / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.2949, allocations: 7.062 kB / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2949, allocations: 0 / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2949, allocations: 4 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.295, allocations: 3.984 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2951, allocations: 161.6 kB / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2951, allocations: 0 / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.2952, allocations: 23.97 kB / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2952, allocations: 7.938 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.2953, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.2953, allocations: 3.984 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2953, allocations: 0 / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2955, allocations: 163.4 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.2955, allocations: 77.11 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2955, allocations: 7.922 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/0.2956, allocations: 4 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.2956, allocations: 4 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.2956, allocations: 0 / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.2957, allocations: 79.27 kB / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2957, allocations: 11.97 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002097/0.2959, allocations: 0 / 0.9551 GB, free: 3.676 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 (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.0001/0.296, allocations: 99.25 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.2962, allocations: 31.95 kB / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2962, allocations: 0 / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.2963, allocations: 24.05 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.2965, allocations: 7.875 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.2968, allocations: 101.6 kB / 0.9553 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.297, allocations: 0.6766 MB / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.2971, allocations: 0 / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.2971, allocations: 15.42 kB / 0.956 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2971, allocations: 3.938 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.002355/0.2995, allocations: 424.5 kB / 0.9564 GB, free: 2.258 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches