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.001278/0.001278, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001357/0.001357, allocations: 194.8 kB / 17.31 MB, free: 5.613 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 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.119/2.119, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.83 kB / 0.8141 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2417, allocations: 140.4 MB / 0.9512 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001832/0.2436, allocations: 0.6711 MB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.2443, allocations: 0.7905 MB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.2443, allocations: 4 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.2444, allocations: 0 / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.2444, allocations: 3.938 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.69e-05/0.2445, allocations: 11.98 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.2445, allocations: 16 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.2446, allocations: 7.984 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.2447, allocations: 15.88 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.2447, allocations: 7.984 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2448, allocations: 4 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-06/0.2448, allocations: 4 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.2448, allocations: 7.922 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.2448, allocations: 8 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.281e-05/0.2449, allocations: 27.89 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2449, allocations: 0 / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2449, allocations: 0 / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2449, allocations: 0 / 0.9527 GB, free: 6.398 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.0003636/0.2453, allocations: 339.4 kB / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2453, allocations: 8.031 kB / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.2453, allocations: 8.938 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.164e-05/0.2454, allocations: 168.3 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.2454, allocations: 384 / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2455, allocations: 384 / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2456, allocations: 54.17 kB / 0.9532 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2456, allocations: 4.125 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2456, allocations: 3.938 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2457, allocations: 0 / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2458, allocations: 39.95 kB / 0.9533 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.2461, allocations: 252.9 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.921e-05/0.2462, allocations: 38.5 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.2463, allocations: 20.89 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.2463, allocations: 7.938 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.2464, allocations: 34.56 kB / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2464, allocations: 0 / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002862/0.2467, allocations: 69.66 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.2467, allocations: 55.39 kB / 0.9538 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.2468, allocations: 102 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2468, allocations: 29.7 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.2468, allocations: 84.14 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.2468, allocations: 3.906 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.2469, allocations: 13.7 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.247, allocations: 318.8 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.247, allocations: 15.92 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.2471, allocations: 15.98 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.2472, allocations: 32.83 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2473, allocations: 3.938 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001834/0.2474, allocations: 61.66 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2475, allocations: 4 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2475, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.2475, allocations: 4.094 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2477, allocations: 27.95 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2477, allocations: 3.984 kB / 0.9544 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.2477, allocations: 4 kB / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.2477, allocations: 0 / 0.9544 GB, free: 4.379 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 6.253e-05/0.2478, allocations: 125.7 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.2478, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.2478, allocations: 7.125 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2479, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2479, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2479, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.248, allocations: 157.6 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.248, allocations: 4 kB / 0.9547 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.2482, allocations: 23.95 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2482, allocations: 0 / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2482, allocations: 3.938 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2482, allocations: 11.94 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2482, allocations: 4 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.2484, allocations: 159.4 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.2484, allocations: 77.11 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2484, allocations: 0 / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.2485, allocations: 12.02 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2486, allocations: 4 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.2486, allocations: 3.938 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.906e-05/0.2486, allocations: 79.28 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2486, allocations: 0 / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002143/0.2488, allocations: 4 kB / 0.9551 GB, free: 3.621 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 9.395e-05/0.2489, allocations: 103.2 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.2491, allocations: 31.97 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2491, allocations: 0 / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.2492, allocations: 19.98 kB / 0.9552 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2495, allocations: 5.812 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.2497, allocations: 101.6 kB / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.2499, allocations: 0.6846 MB / 0.956 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.86e-05/0.2499, allocations: 3.938 kB / 0.956 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.25, allocations: 7.438 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.25, allocations: 0 / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of Templates: time 0.002188/0.2522, allocations: 417.7 kB / 0.9564 GB, free: 2.207 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 gbode -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