Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.0008655/0.0008659, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008991/0.0008993, allocations: 168.7 kB / 15.95 MB, free: 204 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.529/1.529, allocations: 223.2 MB / 240 MB, free: 5.418 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.506/2.506, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004209, allocations: 12 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7891, allocations: 142.3 MB / 0.9539 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0008586/0.79, allocations: 384.3 kB / 0.9542 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.7913, allocations: 1.159 MB / 0.9554 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.7914, allocations: 1.438 kB / 0.9554 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.7914, allocations: 3.938 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.081e-05/0.7915, allocations: 13.36 kB / 0.9554 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.7921, allocations: 184.2 kB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.7923, allocations: 141.3 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.7924, allocations: 5.312 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.7925, allocations: 63.47 kB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.7926, allocations: 49.28 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.7926, allocations: 7.625 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.7927, allocations: 27.17 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.7927, allocations: 10.86 kB / 0.9559 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.7928, allocations: 36.86 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.7929, allocations: 106.7 kB / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.793, allocations: 0 / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.793, allocations: 0 / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.793, allocations: 1.125 kB / 0.956 GB, free: 6.469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004009/0.7934, allocations: 406 kB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.7934, allocations: 12.62 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.7935, allocations: 35.94 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.7935, allocations: 19.55 kB / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.898e-05/0.7936, allocations: 169.6 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.7936, allocations: 4.188 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.7937, allocations: 8.531 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.7938, allocations: 52.67 kB / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.7938, allocations: 0 / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.7938, allocations: 0 / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7938, allocations: 1.188 kB / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.7939, allocations: 24.11 kB / 0.9567 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.7943, allocations: 356.3 kB / 0.957 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.7944, allocations: 36.81 kB / 0.9571 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.7944, allocations: 15.83 kB / 0.9571 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.7945, allocations: 0 / 0.9571 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.7946, allocations: 100.2 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.7946, allocations: 0 / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002357/0.7948, allocations: 100.5 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.7949, allocations: 52.56 kB / 0.9573 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.795, allocations: 123.1 kB / 0.9574 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.795, allocations: 34.08 kB / 0.9575 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.7951, allocations: 93.09 kB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.7951, allocations: 9.969 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.7951, allocations: 7.969 kB / 0.9576 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.7952, allocations: 323.9 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.7953, allocations: 62.88 kB / 0.9579 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.7954, allocations: 95.78 kB / 0.958 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.7956, allocations: 109.5 kB / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7956, allocations: 1.156 kB / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003837/0.796, allocations: 262.2 kB / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.796, allocations: 69.95 kB / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.796, allocations: 5.078 kB / 0.9585 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7961, allocations: 2.438 kB / 0.9585 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.26e-05/0.7961, allocations: 5.219 kB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7961, allocations: 2.531 kB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.7965, allocations: 88.84 kB / 0.9586 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.7965, allocations: 13.06 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.329e-05/0.7966, allocations: 122.9 kB / 0.9587 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.7966, allocations: 2.844 kB / 0.9587 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.7967, allocations: 9.594 kB / 0.9587 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7967, allocations: 5.328 kB / 0.9587 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7967, allocations: 0 / 0.9587 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7967, allocations: 0 / 0.9587 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.7968, allocations: 177.7 kB / 0.9589 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7968, allocations: 0 / 0.9589 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-06/0.7968, allocations: 5.25 kB / 0.9589 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.7968, allocations: 1.188 kB / 0.9589 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.7969, allocations: 9.188 kB / 0.9589 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7969, allocations: 0 / 0.9589 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7969, allocations: 9.188 kB / 0.9589 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.797, allocations: 108.1 kB / 0.959 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.797, allocations: 86.39 kB / 0.9591 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.7971, allocations: 5.016 kB / 0.9591 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.7971, allocations: 9.219 kB / 0.9591 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.7971, allocations: 15.91 kB / 0.9591 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.7971, allocations: 6.344 kB / 0.9591 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.7972, allocations: 90.48 kB / 0.9592 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7972, allocations: 1.344 kB / 0.9592 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002323/0.7974, allocations: 26.69 kB / 0.9592 GB, free: 3.352 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003389/0.7978, allocations: 0.6463 MB / 0.9599 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.7981, allocations: 248.7 kB / 0.9601 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7981, allocations: 1.5 kB / 0.9601 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.7982, allocations: 23.3 kB / 0.9601 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.7984, allocations: 17.11 kB / 0.9601 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.7995, allocations: 0.7067 MB / 0.9608 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.7996, allocations: 0.6853 MB / 0.9615 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.7997, allocations: 11.89 kB / 0.9615 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.7997, allocations: 18.19 kB / 0.9615 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7997, allocations: 3.938 kB / 0.9615 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.8149, allocations: 2.585 MB / 0.9641 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.8151, allocations: 195.1 kB / 0.9642 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.466, allocations: 0 / 0.9642 GB, free: 15.73 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat does not exist to compare? outputFormat=mat