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.004629/0.004629, allocations: 108.8 kB / 15.71 MB, free: 5.996 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.00112/0.00112, allocations: 193.7 kB / 16.64 MB, free: 5.934 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.319/1.319, allocations: 222.9 MB / 240.3 MB, free: 15.07 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.203/2.203, allocations: 390.3 MB / 0.6648 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.9509 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8952/0.8964, allocations: 140.4 MB / 1.088 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001863/0.8984, allocations: 0.6709 MB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.8992, allocations: 0.7942 MB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.8993, allocations: 4 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.8993, allocations: 4.688 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.8994, allocations: 1.406 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.516e-05/0.8995, allocations: 7.875 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.8996, allocations: 23.64 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.8997, allocations: 4.438 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.8998, allocations: 9.031 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.8999, allocations: 14.03 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.8999, allocations: 6.203 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.8999, allocations: 5.438 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.8999, allocations: 2.453 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.9, allocations: 11.19 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.9001, allocations: 20.25 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9001, allocations: 0 / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.456e-06/0.9001, allocations: 1.719 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9001, allocations: 0 / 1.09 GB, free: 4.344 MB / 0.8575 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.0004349/0.9006, allocations: 334.9 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.9006, allocations: 10.19 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.9006, allocations: 9.875 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.326e-05/0.9007, allocations: 167.6 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.9007, allocations: 1.031 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.9008, allocations: 1.156 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.9009, allocations: 49.16 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.901, allocations: 1.25 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.901, allocations: 3.938 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.901, allocations: 4 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.9012, allocations: 36.11 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.9015, allocations: 257.4 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.9017, allocations: 37.06 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.9017, allocations: 18.78 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.9018, allocations: 4 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.9018, allocations: 32.22 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.9018, allocations: 0 / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003474/0.9021, allocations: 79.06 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.9022, allocations: 56.66 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.9023, allocations: 101.3 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.9023, allocations: 30.7 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.9023, allocations: 85.83 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.9024, allocations: 0 / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.9024, allocations: 12.64 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.9024, allocations: 317.4 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.9025, allocations: 16.22 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.9026, allocations: 18.06 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.9028, allocations: 34.52 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9028, allocations: 3.938 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001991/0.903, allocations: 63.62 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.903, allocations: 5.703 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.903, allocations: 4.094 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.903, allocations: 4.828 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.9032, allocations: 24.77 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9033, allocations: 0 / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.9033, allocations: 6.609 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.9033, allocations: 0.6562 kB / 1.091 GB, free: 2.645 MB / 0.8575 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.97e-05/0.9034, allocations: 112.4 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.9034, allocations: 13.03 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.9035, allocations: 4.953 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9035, allocations: 0 / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.9035, allocations: 1.844 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.9035, allocations: 0 / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.9036, allocations: 158 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9036, allocations: 1.922 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.9038, allocations: 23.17 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9038, allocations: 1.656 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.9038, allocations: 4 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.9038, allocations: 1.125 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9038, allocations: 4.641 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.9041, allocations: 159.2 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.9041, allocations: 77.62 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.9041, allocations: 1.875 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.9042, allocations: 10.27 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.9043, allocations: 9.688 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.9043, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.9043, allocations: 80.19 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9043, allocations: 0 / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002326/0.9045, allocations: 5.734 kB / 1.092 GB, free: 1.988 MB / 0.8575 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.0001165/0.9047, allocations: 98.38 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.9049, allocations: 40.12 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9049, allocations: 3.938 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.905, allocations: 17.8 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.9054, allocations: 10.86 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.9056, allocations: 101.5 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.9058, allocations: 0.6788 MB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.611e-05/0.9058, allocations: 1.688 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.9058, allocations: 7.438 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.9059, allocations: 0.9375 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of Templates: time 0.00265/0.9085, allocations: 423.5 kB / 1.093 GB, free: 0.9922 MB / 0.8575 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 -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/jenkins/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