Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007282/0.0007285, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006106/0.006106, allocations: 173.9 kB / 16.26 MB, free: 6.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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.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.272/2.272, allocations: 390.9 MB / 0.6664 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003237, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.722/0.7224, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0008195/0.7232, allocations: 427.4 kB / 0.9556 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.7241, allocations: 0.832 MB / 0.9564 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.7241, allocations: 0 / 0.9564 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.7241, allocations: 5.406 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.7242, allocations: 0 / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.18e-05/0.7243, allocations: 25.2 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.385e-05/0.7244, allocations: 45.59 kB / 0.9565 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.7244, allocations: 9.469 kB / 0.9565 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.7245, allocations: 22.72 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.7245, allocations: 22.8 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.7246, allocations: 1.312 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.7246, allocations: 2.406 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.7246, allocations: 6.016 kB / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.7246, allocations: 40.53 kB / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.075e-05/0.7247, allocations: 51.22 kB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7247, allocations: 1.438 kB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7247, allocations: 0 / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.7247, allocations: 0 / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004289/0.7252, allocations: 344.7 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7252, allocations: 12.75 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.7253, allocations: 31.84 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.7253, allocations: 15.08 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.7254, allocations: 167.7 kB / 0.9572 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7254, allocations: 5.5 kB / 0.9572 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.7255, allocations: 2.188 kB / 0.9572 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.7257, allocations: 77.84 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7257, allocations: 0 / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.7257, allocations: 0 / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7257, allocations: 1.312 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.7259, allocations: 69.38 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.7263, allocations: 289 kB / 0.9576 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.7265, allocations: 74.14 kB / 0.9577 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.7266, allocations: 38.25 kB / 0.9577 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.7266, allocations: 4 kB / 0.9577 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.7267, allocations: 35.81 kB / 0.9577 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.7267, allocations: 0 / 0.9577 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004098/0.7271, allocations: 125.6 kB / 0.9579 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.7271, allocations: 59.33 kB / 0.9579 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.7272, allocations: 101.2 kB / 0.958 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.7272, allocations: 27.39 kB / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.7272, allocations: 93.84 kB / 0.9581 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.7273, allocations: 9.812 kB / 0.9581 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.7273, allocations: 9.719 kB / 0.9582 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.7273, allocations: 320.6 kB / 0.9585 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.7275, allocations: 37.94 kB / 0.9585 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.7275, allocations: 29.88 kB / 0.9585 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.7277, allocations: 70.22 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7278, allocations: 0 / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002452/0.728, allocations: 94.3 kB / 0.9587 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.728, allocations: 8.625 kB / 0.9587 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.728, allocations: 5.75 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.7281, allocations: 0 / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.7282, allocations: 19.3 kB / 0.9587 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7282, allocations: 3.984 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.7283, allocations: 10.75 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.7283, allocations: 1.031 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.117e-05/0.7283, allocations: 124.4 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.7284, allocations: 1.375 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.7284, allocations: 5.719 kB / 0.9589 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7284, allocations: 0 / 0.9589 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7284, allocations: 1.188 kB / 0.9589 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7284, allocations: 3.938 kB / 0.9589 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.7286, allocations: 179.4 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7286, allocations: 0 / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.7287, allocations: 15.27 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7287, allocations: 1.344 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.7287, allocations: 4 kB / 0.959 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7287, allocations: 0.7812 kB / 0.959 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7287, allocations: 1.125 kB / 0.9591 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.729, allocations: 202.1 kB / 0.9592 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.729, allocations: 78.27 kB / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.7291, allocations: 1.094 kB / 0.9593 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.7292, allocations: 13.77 kB / 0.9593 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.7292, allocations: 7.203 kB / 0.9593 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.7292, allocations: 1.469 kB / 0.9593 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.7293, allocations: 88.7 kB / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7293, allocations: 0 / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002085/0.7295, allocations: 14.81 kB / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004979/0.73, allocations: 0.7262 MB / 0.9601 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.7303, allocations: 69.78 kB / 0.9602 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7303, allocations: 3.938 kB / 0.9602 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.7304, allocations: 35.17 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.7307, allocations: 10.08 kB / 0.9603 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.7319, allocations: 1.352 MB / 0.9616 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.732, allocations: 0.6851 MB / 0.9623 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.7321, allocations: 6.75 kB / 0.9623 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.7322, allocations: 18.27 kB / 0.9623 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/0.7322, allocations: 5.312 kB / 0.9623 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.7434, allocations: 1.491 MB / 0.9637 GB, free: 348 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.7436, allocations: 203.2 kB / 0.9639 GB, free: 84 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.396, allocations: 0 / 0.9639 GB, free: 84 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches