Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_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.001206/0.001205, allocations: 99.94 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.001651/0.001651, 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 2.027/2.027, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.964/3.964, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007173/0.0007175, allocations: 12 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.082, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0008933/1.083, allocations: 347.9 kB / 0.9812 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001478/1.085, allocations: 1.068 MB / 0.9823 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/1.085, allocations: 4 kB / 0.9823 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/1.085, allocations: 0 / 0.9823 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/1.085, allocations: 7.984 kB / 0.9823 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/1.086, allocations: 114.5 kB / 0.9824 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.832e-05/1.086, allocations: 43.89 kB / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/1.086, allocations: 4 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/1.086, allocations: 31.95 kB / 0.9825 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/1.086, allocations: 23.91 kB / 0.9825 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/1.086, allocations: 4 kB / 0.9825 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/1.086, allocations: 19.98 kB / 0.9825 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/1.086, allocations: 0 / 0.9825 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/1.086, allocations: 37.7 kB / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/1.086, allocations: 55.86 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.086, allocations: 0 / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.905e-06/1.086, allocations: 3.938 kB / 0.9826 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.086, allocations: 0 / 0.9826 GB, free: 4.559 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.0005164/1.087, allocations: 359.3 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.087, allocations: 8.031 kB / 0.9829 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/1.087, allocations: 30.56 kB / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/1.087, allocations: 4 kB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/1.087, allocations: 171 kB / 0.9831 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.087, allocations: 4 kB / 0.9831 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/1.087, allocations: 8 kB / 0.9831 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/1.087, allocations: 41.64 kB / 0.9832 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.087, allocations: 3.938 kB / 0.9832 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/1.088, allocations: 3.984 kB / 0.9832 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.088, allocations: 0 / 0.9832 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/1.088, allocations: 11.94 kB / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/1.088, allocations: 296.8 kB / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/1.088, allocations: 22.53 kB / 0.9835 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/1.088, allocations: 0 / 0.9835 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/1.088, allocations: 59.39 kB / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/1.088, allocations: 0 / 0.9836 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002032/1.088, allocations: 61.69 kB / 0.9836 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/1.089, allocations: 55.41 kB / 0.9837 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/1.089, allocations: 109.8 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/1.089, allocations: 25.7 kB / 0.9838 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/1.089, allocations: 92.05 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/1.089, allocations: 7.891 kB / 0.9839 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/1.089, allocations: 4 kB / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.089, allocations: 314.8 kB / 0.9842 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/1.089, allocations: 31.98 kB / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/1.089, allocations: 50.5 kB / 0.9843 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.356e-05/1.089, allocations: 57.69 kB / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.089, allocations: 0 / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000233/1.089, allocations: 143.2 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/1.089, allocations: 37.64 kB / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.089, allocations: 0 / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/1.09, allocations: 7.984 kB / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.047e-05/1.09, allocations: 96 / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/1.09, allocations: 4 kB / 0.9845 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/1.09, allocations: 39.97 kB / 0.9846 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/1.09, allocations: 4 kB / 0.9846 GB, free: 2.273 MB / 0.7325 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 0.000109/1.09, allocations: 113.8 kB / 0.9847 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/1.09, allocations: 7.953 kB / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/1.09, allocations: 11.5 kB / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.09, allocations: 0 / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.09, allocations: 0 / 0.9847 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.09, allocations: 3.938 kB / 0.9847 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/1.09, allocations: 157.7 kB / 0.9848 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.09, allocations: 3.938 kB / 0.9849 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/1.09, allocations: 3.984 kB / 0.9849 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.09, allocations: 3.953 kB / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/1.09, allocations: 0 / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.09, allocations: 4 kB / 0.9849 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.09, allocations: 0 / 0.9849 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/1.09, allocations: 81.27 kB / 0.9849 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/1.09, allocations: 77.11 kB / 0.985 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/1.09, allocations: 4 kB / 0.985 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.776e-05/1.09, allocations: 7.969 kB / 0.985 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/1.091, allocations: 4 kB / 0.985 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/1.091, allocations: 0 / 0.985 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.073e-05/1.091, allocations: 91.59 kB / 0.9851 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.091, allocations: 0 / 0.9851 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002149/1.091, allocations: 16 kB / 0.9851 GB, free: 1.598 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: 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.0004914/1.091, allocations: 0.626 MB / 0.9857 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002209/1.092, allocations: 123.3 kB / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.092, allocations: 0 / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/1.092, allocations: 11.98 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/1.092, allocations: 7.953 kB / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/1.092, allocations: 0.6326 MB / 0.9865 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/1.093, allocations: 0.677 MB / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.109e-05/1.093, allocations: 7.938 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/1.093, allocations: 11.44 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/1.093, allocations: 3.938 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/1.109, allocations: 1.652 MB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003814/1.11, allocations: 180.6 kB / 0.989 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.541, allocations: 0 / 0.989 GB, free: 13.62 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat does not exist to compare? outputFormat=mat