Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.0009991/0.0009993, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001224/0.001225, allocations: 172.7 kB / 15.95 MB, free: 208 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.469/1.469, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.743/2.743, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7662, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00102/0.7673, allocations: 0.5406 MB / 0.9817 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.7692, allocations: 1.448 MB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.7694, allocations: 4 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.7695, allocations: 15.86 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.7696, allocations: 27.78 kB / 0.9831 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.7709, allocations: 475.4 kB / 0.9836 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.7713, allocations: 379.2 kB / 0.984 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.7715, allocations: 33.48 kB / 0.984 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.7718, allocations: 155.8 kB / 0.9841 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.772, allocations: 127.6 kB / 0.9843 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.7721, allocations: 24 kB / 0.9843 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.7723, allocations: 39.97 kB / 0.9843 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.7723, allocations: 23.92 kB / 0.9843 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.7724, allocations: 69.64 kB / 0.9844 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.7728, allocations: 285.5 kB / 0.9847 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7728, allocations: 3.938 kB / 0.9847 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7728, allocations: 0 / 0.9847 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.7728, allocations: 0 / 0.9847 GB, free: 2.609 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007321/0.7736, allocations: 0.583 MB / 0.9853 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7736, allocations: 8.031 kB / 0.9853 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/0.7737, allocations: 46.55 kB / 0.9853 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.7738, allocations: 27.81 kB / 0.9853 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.7742, allocations: 258.7 kB / 0.9856 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.7742, allocations: 16 kB / 0.9856 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.7743, allocations: 35.92 kB / 0.9856 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.7746, allocations: 156.7 kB / 0.9858 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7746, allocations: 4 kB / 0.9858 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.7746, allocations: 4 kB / 0.9858 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7746, allocations: 0 / 0.9858 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.7748, allocations: 79.95 kB / 0.9859 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009238/0.7757, allocations: 0.711 MB / 0.9866 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.7759, allocations: 171.6 kB / 0.9867 GB, free: 312 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.776, allocations: 44.83 kB / 0.9868 GB, free: 264 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.776, allocations: 0 / 0.9868 GB, free: 264 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.7763, allocations: 167.3 kB / 0.9869 GB, free: 84 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 3.106e-06/0.7763, allocations: 0 / 0.9869 GB, free: 84 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004579/0.7768, allocations: 238.4 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.7769, allocations: 59.39 kB / 0.9872 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.777, allocations: 174.7 kB / 0.9874 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.7771, allocations: 49.64 kB / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.7772, allocations: 124.3 kB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.7773, allocations: 47.5 kB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.7773, allocations: 12 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7774, allocations: 326.8 kB / 0.9879 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.7777, allocations: 151.9 kB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.7781, allocations: 238.2 kB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.7785, allocations: 290.4 kB / 0.9886 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.7785, allocations: 8 kB / 0.9886 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009803/0.7795, allocations: 0.6153 MB / 0.9892 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.7796, allocations: 164.5 kB / 0.9893 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7796, allocations: 4 kB / 0.9893 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.7796, allocations: 4 kB / 0.9893 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.938e-05/0.7797, allocations: 8.281 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7797, allocations: 11.98 kB / 0.9893 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.7806, allocations: 189 kB / 0.9895 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.7807, allocations: 35.97 kB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001983/0.7809, allocations: 159.1 kB / 0.9897 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.7809, allocations: 23.75 kB / 0.9897 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.781, allocations: 17.88 kB / 0.9898 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.781, allocations: 4 kB / 0.9898 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.781, allocations: 0 / 0.9898 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.781, allocations: 0 / 0.9898 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.7816, allocations: 0.5114 MB / 0.9903 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7816, allocations: 0 / 0.9903 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.7817, allocations: 4 kB / 0.9903 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.7817, allocations: 8 kB / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.7817, allocations: 0 / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.7817, allocations: 3.984 kB / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.7817, allocations: 7.984 kB / 0.9903 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.782, allocations: 284.4 kB / 0.9905 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.7821, allocations: 96.81 kB / 0.9906 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.7821, allocations: 11.98 kB / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.7822, allocations: 0 / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.7823, allocations: 23.97 kB / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.7823, allocations: 12 kB / 0.9907 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.79e-05/0.7824, allocations: 125.2 kB / 0.9908 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7824, allocations: 0 / 0.9908 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003966/0.7828, allocations: 83.92 kB / 0.9909 GB, free: 11.75 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007691/0.7836, allocations: 0.8349 MB / 0.9917 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.7844, allocations: 0.6101 MB / 0.9923 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7844, allocations: 0 / 0.9923 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.7845, allocations: 75.91 kB / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.785, allocations: 54.12 kB / 0.9924 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.7873, allocations: 1.479 MB / 0.9939 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.7877, allocations: 0.7323 MB / 0.9946 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.991e-05/0.7878, allocations: 25.53 kB / 0.9946 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.7878, allocations: 51.42 kB / 0.9947 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of SimCode: time 4.5e-07/0.7878, allocations: 4 kB / 0.9947 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.8069, allocations: 5.86 MB / 1 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.8072, allocations: 200.8 kB / 1.001 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.74, allocations: 0 / 1.001 GB, free: 1.781 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat does not exist to compare? outputFormat=mat