Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Not,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.001073/0.001073, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009718/0.000972, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003439, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8086, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0007577/0.8094, allocations: 343.7 kB / 0.9539 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.8106, allocations: 1.065 MB / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.8106, allocations: 0 / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.8106, allocations: 1.438 kB / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.8107, allocations: 9.703 kB / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.8111, allocations: 114.5 kB / 0.9551 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.8112, allocations: 37.8 kB / 0.9551 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.8113, allocations: 6.75 kB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.8114, allocations: 31.97 kB / 0.9552 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.8115, allocations: 26.61 kB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.8115, allocations: 4.625 kB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.8115, allocations: 13.12 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.8116, allocations: 6.453 kB / 0.9552 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.8116, allocations: 35.67 kB / 0.9552 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.898e-05/0.8117, allocations: 53.5 kB / 0.9553 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.8117, allocations: 0 / 0.9553 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8117, allocations: 7.938 kB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8118, allocations: 1.062 kB / 0.9553 GB, free: 6.789 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003313/0.8121, allocations: 362 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8121, allocations: 8.469 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.8122, allocations: 31.56 kB / 0.9557 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.8122, allocations: 8.391 kB / 0.9557 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.662e-05/0.8123, allocations: 168.1 kB / 0.9559 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.8123, allocations: 2.125 kB / 0.9559 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.8123, allocations: 9.297 kB / 0.9559 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.8124, allocations: 38.98 kB / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.8124, allocations: 0 / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.8125, allocations: 4.984 kB / 0.9559 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.8125, allocations: 0 / 0.9559 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.8125, allocations: 16.77 kB / 0.9559 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.8128, allocations: 287.6 kB / 0.9562 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.291e-05/0.8129, allocations: 22.47 kB / 0.9562 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-06/0.8129, allocations: 4 kB / 0.9562 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.813, allocations: 56.69 kB / 0.9563 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.813, allocations: 0 / 0.9563 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001849/0.8132, allocations: 67.81 kB / 0.9563 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.8132, allocations: 55.34 kB / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/0.8133, allocations: 104.8 kB / 0.9565 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.8133, allocations: 27.08 kB / 0.9565 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.8134, allocations: 96.11 kB / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-06/0.8134, allocations: 0 / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.8134, allocations: 2 kB / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.8134, allocations: 317.1 kB / 0.9569 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.8135, allocations: 25.67 kB / 0.9569 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/0.8136, allocations: 51.08 kB / 0.957 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.8137, allocations: 57.73 kB / 0.957 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8137, allocations: 3.984 kB / 0.9571 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002386/0.8139, allocations: 149.6 kB / 0.9572 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.814, allocations: 33.73 kB / 0.9572 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.814, allocations: 0 / 0.9572 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.814, allocations: 5.078 kB / 0.9572 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.749e-05/0.814, allocations: 2.25 kB / 0.9572 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.814, allocations: 1.031 kB / 0.9572 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.8143, allocations: 44.77 kB / 0.9573 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.8143, allocations: 5.438 kB / 0.9573 GB, free: 4.754 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/0.8144, allocations: 111.7 kB / 0.9574 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.8144, allocations: 1.344 kB / 0.9574 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.8144, allocations: 12.52 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8144, allocations: 9.234 kB / 0.9574 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8145, allocations: 12.17 kB / 0.9574 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.8145, allocations: 0 / 0.9574 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.8146, allocations: 156.3 kB / 0.9576 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8146, allocations: 3.984 kB / 0.9576 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-06/0.8146, allocations: 1.219 kB / 0.9576 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8146, allocations: 0 / 0.9576 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.8146, allocations: 1.125 kB / 0.9576 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.8146, allocations: 3.984 kB / 0.9576 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8146, allocations: 5.078 kB / 0.9576 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.99e-05/0.8147, allocations: 82.06 kB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.8147, allocations: 78.05 kB / 0.9577 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.8147, allocations: 5.062 kB / 0.9577 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.8148, allocations: 0 / 0.9577 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.8148, allocations: 5.859 kB / 0.9577 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.8148, allocations: 4.891 kB / 0.9578 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.8148, allocations: 84.09 kB / 0.9578 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.12e-07/0.8148, allocations: 0 / 0.9578 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002121/0.8151, allocations: 18.03 kB / 0.9579 GB, free: 4.129 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000285/0.8154, allocations: 0.6165 MB / 0.9585 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.8155, allocations: 118.8 kB / 0.9586 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8155, allocations: 0 / 0.9586 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.8156, allocations: 16.17 kB / 0.9586 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.8157, allocations: 7.281 kB / 0.9586 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.8162, allocations: 0.6366 MB / 0.9592 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.8163, allocations: 0.6801 MB / 0.9599 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.046e-05/0.8163, allocations: 2.438 kB / 0.9599 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.8164, allocations: 12.59 kB / 0.9599 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8164, allocations: 3.938 kB / 0.9599 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.8286, allocations: 1.654 MB / 0.9615 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.8289, allocations: 180.9 kB / 0.9617 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.5, allocations: 0 / 0.9617 GB, free: 0.9961 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat does not exist to compare? outputFormat=mat