Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_latest_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_latest_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.001526/0.001526, allocations: 106.9 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.001567/0.001567, 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 62.34 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3068, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001993/0.3088, allocations: 0.6879 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.3097, allocations: 0.7923 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.3097, allocations: 0 / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.3098, allocations: 3.938 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.3098, allocations: 4 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.15e-05/0.3099, allocations: 7.984 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.31, allocations: 31.86 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3101, allocations: 4 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.3101, allocations: 8 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.112e-05/0.3102, allocations: 7.922 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3102, allocations: 4 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-06/0.3102, allocations: 0 / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.3102, allocations: 8 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.3103, allocations: 11.92 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.073e-05/0.3104, allocations: 19.95 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3104, allocations: 7.938 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3104, allocations: 3.938 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3104, allocations: 0 / 1.028 GB, free: 460 kB / 0.795 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.0004203/0.3108, allocations: 339.5 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3108, allocations: 8.031 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.3109, allocations: 4.844 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.311, allocations: 164.4 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.311, allocations: 384 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3111, allocations: 4.359 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3112, allocations: 50.25 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3112, allocations: 192 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3113, allocations: 3.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3113, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.3114, allocations: 35.95 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.3118, allocations: 260.8 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3119, allocations: 42.53 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.312, allocations: 16.91 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.312, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.312, allocations: 30.56 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 2.255e-06/0.312, allocations: 3.984 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002984/0.3123, allocations: 85.58 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.3124, allocations: 51.41 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.3125, allocations: 93.86 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.3125, allocations: 29.7 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.3126, allocations: 92.03 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.3126, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.3126, allocations: 13.84 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3127, allocations: 314.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.3128, allocations: 15.98 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.3129, allocations: 11.98 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.313, allocations: 44.81 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.313, allocations: 3.938 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001599/0.3132, allocations: 57.67 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3132, allocations: 4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3132, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3132, allocations: 7.984 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3134, allocations: 27.91 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3134, allocations: 4.031 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.3135, allocations: 7.984 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3135, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 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.93e-05/0.3136, allocations: 117.7 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.3136, allocations: 3.906 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.3136, allocations: 7.125 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3136, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3136, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3136, allocations: 4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3138, allocations: 161.6 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3138, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3139, allocations: 23.97 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3139, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3139, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3139, allocations: 3.938 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.314, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.3142, allocations: 159.5 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.3142, allocations: 77.11 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.3142, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.3143, allocations: 11.92 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.3143, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3143, allocations: 4 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.3144, allocations: 87.3 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3144, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002026/0.3146, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 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.0001689/0.3148, allocations: 99.25 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.315, allocations: 31.91 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.315, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.315, allocations: 20.05 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3153, allocations: 9.953 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.3156, allocations: 97.56 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3159, allocations: 0.6768 MB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.3159, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.3159, allocations: 7.438 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3159, allocations: 3.938 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of Templates: time 0.002189/0.3181, allocations: 426.5 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches