Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.001054/0.001054, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007108/0.007108, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.325/2.325, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003781, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.8324, allocations: 142.4 MB / 0.9552 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009497/0.8334, allocations: 442.9 kB / 0.9556 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.8345, allocations: 0.8231 MB / 0.9564 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.8345, allocations: 0 / 0.9564 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.8345, allocations: 3.984 kB / 0.9564 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.343e-05/0.8346, allocations: 5.438 kB / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.8348, allocations: 14.73 kB / 0.9564 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.8349, allocations: 41.34 kB / 0.9565 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.835, allocations: 9.938 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.835, allocations: 16.52 kB / 0.9565 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.8351, allocations: 16.8 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.8351, allocations: 2 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-06/0.8351, allocations: 2.25 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.8351, allocations: 8.828 kB / 0.9565 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.8352, allocations: 40.66 kB / 0.9566 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.369e-05/0.8352, allocations: 51.8 kB / 0.9566 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8353, allocations: 0 / 0.9566 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8353, allocations: 1.094 kB / 0.9566 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.8353, allocations: 7.875 kB / 0.9566 GB, free: 6.371 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.0005359/0.8358, allocations: 387.7 kB / 0.957 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.8359, allocations: 9.594 kB / 0.957 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.8359, allocations: 31.72 kB / 0.957 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.8359, allocations: 6.688 kB / 0.957 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.433e-05/0.836, allocations: 167.8 kB / 0.9572 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.836, allocations: 5.375 kB / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.836, allocations: 6.625 kB / 0.9572 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.8362, allocations: 64.83 kB / 0.9573 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.8362, allocations: 3.938 kB / 0.9573 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.8363, allocations: 0 / 0.9573 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8363, allocations: 1.125 kB / 0.9573 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.8365, allocations: 62.67 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.8369, allocations: 304.9 kB / 0.9576 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.8372, allocations: 56.92 kB / 0.9577 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.8373, allocations: 39.02 kB / 0.9577 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.8373, allocations: 4 kB / 0.9577 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.8373, allocations: 31.59 kB / 0.9578 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8374, allocations: 0 / 0.9578 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003749/0.8377, allocations: 112.7 kB / 0.9579 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.8378, allocations: 51.41 kB / 0.9579 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.8378, allocations: 110.1 kB / 0.958 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.8378, allocations: 26.8 kB / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.8379, allocations: 94.72 kB / 0.9581 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.8379, allocations: 12.62 kB / 0.9581 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.8379, allocations: 10.72 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.838, allocations: 328.2 kB / 0.9585 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.8381, allocations: 28.55 kB / 0.9585 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.139e-05/0.8382, allocations: 24.73 kB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.8384, allocations: 55.97 kB / 0.9586 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8384, allocations: 0 / 0.9586 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000214/0.8386, allocations: 96.27 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8386, allocations: 5.875 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8386, allocations: 0 / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8386, allocations: 0.9688 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.8387, allocations: 16.52 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8387, allocations: 7.922 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.8388, allocations: 26.14 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.8389, allocations: 1.219 kB / 0.9587 GB, free: 4.383 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 (onOffController.y,$PRE.onOffController.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 5.997e-05/0.8389, allocations: 117.1 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.8389, allocations: 1.219 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.8392, allocations: 96.7 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8392, allocations: 0 / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8392, allocations: 5.156 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.8392, allocations: 0 / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.8394, allocations: 173.7 kB / 0.9591 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8394, allocations: 0 / 0.9591 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.8395, allocations: 16.05 kB / 0.9591 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8395, allocations: 1.156 kB / 0.9591 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.8395, allocations: 0 / 0.9591 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8395, allocations: 5.094 kB / 0.9591 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8395, allocations: 0 / 0.9591 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.8397, allocations: 176.4 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.8398, allocations: 86.59 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.8398, allocations: 1.781 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.8399, allocations: 15.98 kB / 0.9594 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.84, allocations: 11.83 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.84, allocations: 2.156 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.84, allocations: 90.83 kB / 0.9595 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.84, allocations: 4 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002111/0.8402, allocations: 9.531 kB / 0.9595 GB, free: 3.609 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004138/0.8407, allocations: 0.7155 MB / 0.9602 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.8409, allocations: 52.83 kB / 0.9603 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8409, allocations: 8.844 kB / 0.9603 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.841, allocations: 35.78 kB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.8413, allocations: 7.438 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.8424, allocations: 1.367 MB / 0.9616 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.8425, allocations: 0.6837 MB / 0.9623 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3e-05/0.8426, allocations: 6.734 kB / 0.9623 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.8426, allocations: 12.81 kB / 0.9623 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.8426, allocations: 0 / 0.9623 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.853, allocations: 1.441 MB / 0.9637 GB, free: 216 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.8532, allocations: 216.7 kB / 0.9639 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.63, allocations: 3.938 kB / 0.9639 GB, free: 15.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches